Utilities/__init__.py

changeset 1348
38d4a35aa308
parent 1329
ac21bb9cf8b9
child 1368
4489ee4feb59
equal deleted inserted replaced
1346:8c9af7608afa 1348:38d4a35aa308
1202 elif seLine.rstrip().endswith('^'): 1202 elif seLine.rstrip().endswith('^'):
1203 index = len(seLine.rstrip()) - 4 1203 index = len(seLine.rstrip()) - 4
1204 else: 1204 else:
1205 fn = detail.filename 1205 fn = detail.filename
1206 line = detail.lineno and detail.lineno or 1 1206 line = detail.lineno and detail.lineno or 1
1207 index = "0"
1207 code = "" 1208 code = ""
1208 error = detail.msg 1209 error = detail.msg
1209 return (True, fn, line, index, code, error) 1210 return (True, fn, line, index, code, error)
1210 except ValueError as detail: 1211 except ValueError as detail:
1211 index = "0" 1212 index = "0"

eric ide

mercurial