Utilities/__init__.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2319
116c547dedce
child 2571
e6bb19eb87ea
diff -r 139f182b72f6 -r 8b507a9a2d40 Utilities/__init__.py
--- a/Utilities/__init__.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Utilities/__init__.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,12 @@
 Package implementing various functions/classes needed everywhere within eric5.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+try:
+    str = unicode
+except (NameError):
+    pass
+
 import os
 import sys
 import re

eric ide

mercurial