--- a/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,12 @@ Module implementing a dialog to show the output of the hg log command process. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ +try: + str = unicode +except (NameError): + pass + import os from PyQt4.QtCore import pyqtSlot, QProcess, QTimer, QUrl, QByteArray @@ -38,7 +44,7 @@ @param bundle name of a bundle file (string) @param parent parent widget (QWidget) """ - super().__init__(parent) + super(HgLogDialog, self).__init__(parent) self.setupUi(self) self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) @@ -495,4 +501,4 @@ self.intercept = False evt.accept() return - super().keyPressEvent(evt) + super(HgLogDialog, self).keyPressEvent(evt)