Fixed an issue in the compile function of Utilities/__init__.py.

Sun, 02 Oct 2011 12:38:58 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 02 Oct 2011 12:38:58 +0200
changeset 1348
38d4a35aa308
parent 1346
8c9af7608afa
child 1350
f21bedbb0c6f

Fixed an issue in the compile function of Utilities/__init__.py.

Utilities/__init__.py file | annotate | diff | comparison | revisions
diff -r 8c9af7608afa -r 38d4a35aa308 Utilities/__init__.py
--- a/Utilities/__init__.py	Sat Oct 01 17:20:29 2011 +0200
+++ b/Utilities/__init__.py	Sun Oct 02 12:38:58 2011 +0200
@@ -1204,6 +1204,7 @@
         else:
             fn = detail.filename
             line = detail.lineno and detail.lineno or 1
+            index = "0"
             code = ""
             error = detail.msg
         return (True, fn, line, index, code, error)

eric ide

mercurial