SqlBrowser/SqlConnectionDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2791
a9577f248f04
--- a/SqlBrowser/SqlConnectionDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/SqlBrowser/SqlConnectionDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to enter the connection parameters.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import pyqtSlot
 from PyQt4.QtGui import QDialog, QDialogButtonBox
 from PyQt4.QtSql import QSqlDatabase
@@ -27,7 +29,7 @@
         """
         Constructor
         """
-        super().__init__(parent)
+        super(SqlConnectionDialog, self).__init__(parent)
         self.setupUi(self)
         
         self.databaseFileCompleter = E5FileCompleter()

eric ide

mercurial