From 7e7f98532db86678934592960c15732ae2ea9d7c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 18 Jan 2011 23:11:27 +0000 Subject: [PATCH] Silly typos. Thanks, Stephan. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37256 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/scripts/prefs2prefs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/scripts/prefs2prefs.py b/lib/scripts/prefs2prefs.py index eaf39fd015..5bc25c1b14 100644 --- a/lib/scripts/prefs2prefs.py +++ b/lib/scripts/prefs2prefs.py @@ -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) # -- 2.39.2