Fixed a Python 2 related issue.

Sun, 06 Nov 2016 17:27:02 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 06 Nov 2016 17:27:02 +0100
changeset 5293
26f1e696a2a5
parent 5292
ac8b476ba122
child 5294
d70147155302

Fixed a Python 2 related issue.

Plugins/VcsPlugins/vcsMercurial/HgUtilities.py file | annotate | diff | comparison | revisions
diff -r ac8b476ba122 -r 26f1e696a2a5 Plugins/VcsPlugins/vcsMercurial/HgUtilities.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgUtilities.py	Sun Nov 06 17:02:45 2016 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgUtilities.py	Sun Nov 06 17:27:02 2016 +0100
@@ -8,6 +8,10 @@
 """
 
 from __future__ import unicode_literals
+try:
+    str = unicode
+except NameError:
+    pass
 
 import os
 import re

eric ide

mercurial