]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx2lyx_tools.py
tufte-book.lyx, tufte-handout.lyx: fix typos
[lyx.git] / lib / lyx2lyx / lyx2lyx_tools.py
index 84c58194615e856b66df781637bd3cbb2936b82a..0f80c8f692c1ae83e9d0db55cc58fd3574d15673 100644 (file)
@@ -1,6 +1,6 @@
 # This file is part of lyx2lyx
 # -*- coding: utf-8 -*-
-# Copyright (C) 2010 The LyX team
+# Copyright (C) 2011 The LyX team
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -65,7 +65,7 @@ from unicode_symbols import unicode_reps
 
 
 # This will accept either a list of lines or a single line.
-# It is bad practice to pass something with embedded newlines, 
+# It is bad practice to pass something with embedded newlines,
 # though we will handle that.
 def add_to_preamble(document, text):
     " Add text to the preamble if it is not already there. "
@@ -92,7 +92,7 @@ def add_to_preamble(document, text):
       if matched:
         return
 
-    document.preamble.extend("% Added by lyx2lyx")
+    document.preamble.extend(["% Added by lyx2lyx"])
     document.preamble.extend(text)