diff -r 139f182b72f6 -r 8b507a9a2d40 Plugins/VcsPlugins/vcsMercurial/HgClient.py --- a/Plugins/VcsPlugins/vcsMercurial/HgClient.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgClient.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,11 @@ Module implementing an interface to the Mercurial command server. """ +try: + str = unicode +except (NameError): + pass + import struct import io @@ -36,7 +41,7 @@ @param encoding encoding to be used by the command server (string) @param parent reference to the parent object (QObject) """ - super().__init__(parent) + super(HgClient, self).__init__(parent) self.__server = None self.__started = False