DebugClients/Python3/DebugBase.py

branch
6_1_x
changeset 5186
3e43c809a129
parent 5164
197acc53a662
child 5187
ef0fcefe97f8
--- a/DebugClients/Python3/DebugBase.py	Sat Sep 24 18:00:30 2016 +0200
+++ b/DebugClients/Python3/DebugBase.py	Fri Sep 30 19:21:22 2016 +0200
@@ -731,10 +731,13 @@
         
         if exctype in [SyntaxError, IndentationError]:
             try:
+                printerr("1")
                 message = str(excval)
                 filename = excval.filename
                 linenr = excval.lineno
                 charnr = excval.offset
+                if charno is None:
+                    charno = 0
             except (AttributeError, ValueError):
                 exclist = []
                 realSyntaxError = True

eric ide

mercurial