--- a/E5Network/E5SslCertificatesInfoWidget.py Sun Mar 30 22:00:14 2014 +0200 +++ b/E5Network/E5SslCertificatesInfoWidget.py Thu Apr 03 23:05:31 2014 +0200 @@ -9,8 +9,8 @@ from __future__ import unicode_literals try: - str = unicode # __IGNORE_WARNING__ -except (NameError): + str = unicode +except NameError: pass from PyQt4.QtCore import pyqtSlot, QCryptographicHash, QDateTime, qVersion @@ -158,7 +158,7 @@ @return prepared text (string) """ if txt is None or txt == "": - return self.trUtf8("<not part of the certificate>") + return self.tr("<not part of the certificate>") return Utilities.decodeString(txt) @@ -171,7 +171,7 @@ """ serial = cert.serialNumber() if serial == "": - return self.trUtf8("<not part of the certificate>") + return self.tr("<not part of the certificate>") if ':' in serial: return str(serial, encoding="ascii").upper()