src/eric7/EricNetwork/EricSslCertificateSelectionDialog.py

branch
eric7
changeset 10331
c1a2ff7e3575
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10330:5ea038882dd6 10331:c1a2ff7e3575
112 def on_viewButton_clicked(self): 112 def on_viewButton_clicked(self):
113 """ 113 """
114 Private slot to show data of the selected certificate. 114 Private slot to show data of the selected certificate.
115 """ 115 """
116 with contextlib.suppress(ImportError): 116 with contextlib.suppress(ImportError):
117 from eric7.EricNetwork.EricSslCertificatesInfoDialog import ( # __IGNORE_WARNING__ 117 from eric7.EricNetwork.EricSslCertificatesInfoDialog import ( # noqa: I101
118 EricSslCertificatesInfoDialog, 118 EricSslCertificatesInfoDialog,
119 ) 119 )
120 120
121 cert = QSslCertificate.fromData( 121 cert = QSslCertificate.fromData(
122 self.certificatesTree.selectedItems()[0].data(0, self.CertRole) 122 self.certificatesTree.selectedItems()[0].data(0, self.CertRole)

eric ide

mercurial