E5Network/E5SslInfoWidget.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2432
b1a2f9054b28
child 2538
b2642e7a4c18
diff -r 139f182b72f6 -r 8b507a9a2d40 E5Network/E5SslInfoWidget.py
--- a/E5Network/E5SslInfoWidget.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/E5Network/E5SslInfoWidget.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a widget to show SSL information.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import qVersion, Qt, QUrl, QPoint
 from PyQt4.QtGui import QMenu, QGridLayout, QLabel, QSizePolicy
 from PyQt4.QtNetwork import QSsl, QSslConfiguration, QSslCertificate
@@ -27,7 +29,7 @@
         @param configuration SSL configuration (QSslConfiguration)
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(E5SslInfoWidget, self).__init__(parent)
         
         self.__url = QUrl(url)
         self.__configuration = QSslConfiguration(configuration)

eric ide

mercurial