Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3145
a9de05d4a22f
--- a/Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the Mercurial command dialog.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QDialog, QDialogButtonBox
 
 from .Ui_HgCommandDialog import Ui_HgCommandDialog
@@ -30,7 +32,7 @@
         @param ppath pathname of the project directory (string)
         @param parent parent widget of this dialog (QWidget)
         """
-        super().__init__(parent)
+        super(HgCommandDialog, self).__init__(parent)
         self.setupUi(self)
         
         self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)

eric ide

mercurial