PluginManager/PluginInstallDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2404
cba0ff902c2b
child 2526
a91cba8291b9
--- a/PluginManager/PluginInstallDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/PluginManager/PluginInstallDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the Plugin installation dialog.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os
 import sys
 import shutil
@@ -42,7 +44,7 @@
             installation (list of strings)
         @param parent parent of this dialog (QWidget)
         """
-        super().__init__(parent)
+        super(PluginInstallWidget, self).__init__(parent)
         self.setupUi(self)
         
         if pluginManager is None:
@@ -521,7 +523,7 @@
             installation (list of strings)
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(PluginInstallDialog, self).__init__(parent)
         self.setSizeGripEnabled(True)
         
         self.__layout = QVBoxLayout(self)
@@ -557,7 +559,7 @@
             installation (list of strings)
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(PluginInstallWindow, self).__init__(parent)
         self.cw = PluginInstallWidget(None, pluginFileNames, self)
         size = self.cw.size()
         self.setCentralWidget(self.cw)

eric ide

mercurial