--- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListGuardsDialog.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListGuardsDialog.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,12 @@ Module implementing a dialog to show the guards of a selected patch. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ +try: + str = unicode +except (NameError): + pass + import os from PyQt4.QtCore import pyqtSlot, QProcess, QTimer, QCoreApplication @@ -30,7 +36,7 @@ @param patchesList list of patches (list of strings) @param parent reference to the parent widget (QWidget) """ - super().__init__(parent) + super(HgQueuesListGuardsDialog, self).__init__(parent) self.setupUi(self) self.process = QProcess()