mail[Wesnoth-commits] r28577 - /trunk/data/tools/wmllint


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by esr on August 14, 2008 - 14:39:
Author: esr
Date: Thu Aug 14 13:32:25 2008
New Revision: 28577

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28577&view=rev
Log:
Address bug #12091.

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=28577&r1=28576&r2=28577&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Thu Aug 14 13:32:25 2008
@@ -925,7 +925,7 @@
                 if key == "id":
                     if in_person:
                         present.append(value)
-                    elif value in ('narrator', 'unit', 'second_unit') or 
value[0] in ("$", "{"):
+                    elif value in ('narrator', 'unit', 'second_unit') or 
(value and value[0] in ("$", "{")):
                         continue
                     elif preamble_seen and not ignore_id and not in_object 
and not value in present:
                         print '"%s", line %d: unknown \'%s\' referred to by 
id' \




Related Messages


Powered by MHonArc, Updated Thu Aug 14 18:21:43 2008