Author: rgheck
Date: Fri Nov 5 15:48:45 2010
New Revision: 36107
URL: http://www.lyx.org/trac/changeset/36107
Log:
Reminders.
Modified:
lyx-devel/trunk/lib/lyx2lyx/lyx2lyx_tools.py
Modified: lyx-devel/trunk/lib/lyx2lyx/lyx2lyx_tools.py
==============================================================================
--- lyx-devel/trunk/lib/lyx2lyx/lyx2lyx_tools.py Fri Nov 5 15:44:19
2010 (r36106)
+++ lyx-devel/trunk/lib/lyx2lyx/lyx2lyx_tools.py Fri Nov 5 15:48:45
2010 (r36107)
@@ -28,6 +28,7 @@
Only the first line is checked!"""
if not type(text) is list:
+ document.warning("You should pass a list to add_to_preamble!")
# split on \n just in case
# it'll give us the one element list we want
# if there's no \n, too
@@ -45,6 +46,7 @@
""" Insert text to the preamble at a given line"""
if not type(text) is list:
+ document.warning("You should pass a list to insert_to_preamble!")
# split on \n just in case
# it'll give us the one element list we want
# if there's no \n, too
@@ -366,4 +368,3 @@
"'true' goes to True, case-insensitively, and we strip whitespace."
s = s.strip().lower()
return s == "true"
-
\ No newline at end of file