E5Network/E5SslCertificatesInfoWidget.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2432
b1a2f9054b28
child 2677
3d4277929fb3
--- a/E5Network/E5SslCertificatesInfoWidget.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/E5Network/E5SslCertificatesInfoWidget.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,12 @@
 Module implementing a widget to show SSL certificate infos.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+try:
+    str = unicode
+except (NameError):
+    pass
+
 from PyQt4.QtCore import pyqtSlot, QCryptographicHash, QDateTime, qVersion
 from PyQt4.QtGui import QWidget
 from PyQt4.QtNetwork import QSslCertificate
@@ -26,7 +32,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(E5SslCertificatesInfoWidget, self).__init__(parent)
         self.setupUi(self)
         
         self.__chain = []

eric ide

mercurial