src/eric7/EricNetwork/EricSslCertificateSelectionDialog.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
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 .EricSslCertificatesInfoDialog import ( # noqa: I101 117 from .EricSslCertificatesInfoDialog import ( # noqa: I-101
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