--- a/eric6/E5Network/E5SslCertificateSelectionDialog.py Thu Apr 15 16:52:05 2021 +0200 +++ b/eric6/E5Network/E5SslCertificateSelectionDialog.py Thu Apr 15 18:11:24 2021 +0200 @@ -114,7 +114,7 @@ """ Private slot to show data of the selected certificate. """ - try: + with contextlib.suppress(ImportError): from E5Network.E5SslCertificatesInfoDialog import ( E5SslCertificatesInfoDialog ) @@ -123,8 +123,6 @@ 0, self.CertRole)) dlg = E5SslCertificatesInfoDialog(cert, self) dlg.exec() - except ImportError: - pass def getSelectedCertificate(self): """