Fixed an issue introduced by the new running interpreter browser model feature. Py2 comp.

Sun, 13 Apr 2014 15:45:57 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 13 Apr 2014 15:45:57 +0200
branch
Py2 comp.
changeset 3506
d85fadb263a0
parent 3505
84e7cee47d10
child 3515
1b8381afe38f

Fixed an issue introduced by the new running interpreter browser model feature.

UI/BrowserModel.py file | annotate | diff | comparison | revisions
--- a/UI/BrowserModel.py	Sat Apr 12 22:39:33 2014 +0200
+++ b/UI/BrowserModel.py	Sun Apr 13 15:45:57 2014 +0200
@@ -8,6 +8,10 @@
 """
 
 from __future__ import unicode_literals
+try:
+    str = unicode
+except NameError:
+    pass
 
 import os
 import fnmatch

eric ide

mercurial