]> git.lyx.org Git - features.git/commitdiff
Fix invalid mix of int and strings.
authorJosé Matox <jamatos@lyx.org>
Wed, 2 Apr 2008 12:03:09 +0000 (12:03 +0000)
committerJosé Matox <jamatos@lyx.org>
Wed, 2 Apr 2008 12:03:09 +0000 (12:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24092 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_6.py

index 7095e0962f661bd1468fe90e580ea9fba18cd0eb..ed06cba65fb493e0bdf9eb2faa259b9805140974 100644 (file)
@@ -805,7 +805,7 @@ def convert_ams_classes(document):
       return
     m = r.match(document.body[i])
     if m == None:
-      document.warning("Weirdly formed \\begin_layout at line " + i + " of body!")
+      document.warning("Weirdly formed \\begin_layout at line %d of body!" % i)
       i += 1
       continue
     m = m.group(1)