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' \
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits