Plugins/VcsPlugins/vcsMercurial/TransplantExtension/ProjectHelper.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/ProjectHelper.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/ProjectHelper.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the transplant extension project helper.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QMenu
 
 from E5Gui.E5Action import E5Action
@@ -25,7 +27,7 @@
         """
         Constructor
         """
-        super().__init__()
+        super(TransplantProjectHelper, self).__init__()
     
     def setObjects(self, vcsObject, projectObject):
         """
@@ -34,7 +36,7 @@
         @param vcsObject reference to the vcs object
         @param projectObject reference to the project object
         """
-        super().setObjects(vcsObject, projectObject)
+        super(TransplantProjectHelper, self).setObjects(vcsObject, projectObject)
         
         if self.vcs.version >= (2, 3):
             # transplant is deprecated as of Mercurial 2.3

eric ide

mercurial