--- 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"))