From 36c1de09a7618986ec380fc715a64e7dbc1b5f06 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 24 Feb 2010 18:14:23 +0000 Subject: [PATCH] Do not output a warning about missing the width of a nomencl_print. The width will not be outputted if it's empty and this is the case when the nomencl_print has "set_width" set to auto or none. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33559 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_2_0.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index 1d8e8d2bf0..8ad26ef938 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -767,7 +767,7 @@ def revert_nomencl_cwidth(document): j = find_end_of_inset(document.body, i) l = find_token(document.body, "width", i, j) if l == -1: - document.warning("Can't find width option for nomencl_print!") + #Can't find width option for nomencl_print i = j continue width = get_value(document.body, "width", i, j).strip('"')