Silly typos. Thanks, Stephan.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37256 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-01-18 23:11:27 +00:00
parent 18a015081b
commit 7e7f98532d

View File

@ -104,12 +104,12 @@ def update_format(lines):
return
line = lines[format_line]
m = re_format.search(l)
m = re_format.search(line)
if not m:
sys.stderr.write("Couldn't match format line!\n" + line + "\n")
sys.exit(1)
format = int(m.group(1))
lines[i] = "Format " + str(format + 1)
lines[format_line] = "Format " + str(format + 1)
#