Debugger/VariablesViewer.py

branch
Py2 comp.
changeset 2717
34ef4eccdf6c
parent 2677
3d4277929fb3
child 3057
10516539f238
--- a/Debugger/VariablesViewer.py	Fri Jun 14 17:43:32 2013 +0200
+++ b/Debugger/VariablesViewer.py	Fri Jun 14 18:52:04 2013 +0200
@@ -8,6 +8,10 @@
 """
 
 from __future__ import unicode_literals    # __IGNORE_WARNING__
+try:
+    str = unicode
+except (NameError):
+    pass
 
 from PyQt4.QtCore import Qt, QRegExp, qVersion
 from PyQt4.QtGui import QTreeWidget, QTreeWidgetItem, QApplication, QAbstractItemView, \

eric ide

mercurial