diff -r 139f182b72f6 -r 8b507a9a2d40 Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,12 @@ Module implementing a dialog for the Mercurial server. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ +try: + str = unicode +except (NameError): + pass + import os from PyQt4.QtCore import QProcess, Qt, QSize @@ -34,7 +40,7 @@ @param path path of the repository to serve (string) @param parent reference to the parent widget (QWidget) """ - super().__init__(parent) + super(HgServeDialog, self).__init__(parent) self.vcs = vcs self.__repoPath = path