UI/DiffDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2677
3d4277929fb3
diff -r 139f182b72f6 -r 8b507a9a2d40 UI/DiffDialog.py
--- a/UI/DiffDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/UI/DiffDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to compare two files.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os
 import time
 
@@ -202,7 +204,7 @@
         """
         Constructor
         """
-        super().__init__(parent)
+        super(DiffDialog, self).__init__(parent)
         self.setupUi(self)
         
         self.file1Completer = E5FileCompleter(self.file1Edit)
@@ -251,7 +253,7 @@
         """
         if filename:
             self.file1Edit.setText(filename)
-        super().show()
+        super(DiffDialog, self).show()
         
     def on_buttonBox_clicked(self, button):
         """
@@ -500,7 +502,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(DiffWindow, self).__init__(parent)
         
         self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
         

eric ide

mercurial