Skip to content
Snippets Groups Projects
Commit d7895e40 authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Sigh, actually display the error better.

parent bb157ab1
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ def cobol_Renumber():
try:
last_line_no = int(lines[i][:6])
except ValueError:
print('Malformed line (%d) - has non-numbers in columns 1-6' % i - 1)
print('Error: line %d has non-numbers in columns 1-6' % (i + 1))
return
if gap:
delta = math.floor((last_line_no - gap['last_line_no']) /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment