SqlBrowser/SqlBrowser.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2409
df3820f08247
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 SqlBrowser/SqlBrowser.py
--- a/SqlBrowser/SqlBrowser.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/SqlBrowser/SqlBrowser.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the SQL Browser main window.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import QTimer, QUrl
 from PyQt4.QtGui import QKeySequence, qApp
 from PyQt4.QtSql import QSqlError, QSqlDatabase
@@ -32,7 +34,7 @@
         @param connections list of database connections to add (list of strings)
         @param reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(SqlBrowser, self).__init__(parent)
         self.setObjectName("SqlBrowser")
         
         self.setWindowTitle(self.trUtf8("SQL Browser"))

eric ide

mercurial