src/eric7/EricNetwork/EricSslCertificateSelectionDialog.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
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 ( 117 from eric7.EricNetwork.EricSslCertificatesInfoDialog import ( # __IGNORE_WARNING__
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