mail[Wesnoth-commits] r24402 - /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 March 08, 2008 - 05:55:
Author: esr
Date: Sat Mar  8 05:55:14 2008
New Revision: 24402

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24402&view=rev
Log:
Disable the road terrain check.

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=24402&r1=24401&r2=24402&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Sat Mar  8 05:55:14 2008
@@ -522,8 +522,8 @@
     # to deserialize an empty unit.
     if closer == "side" and "type" not in attributes and ("no_leader" not in 
attributes or attributes["no_leader"] != "yes") and "multiplayer" not in 
ancestors:
         print '"%s", line %d: [side] without type attribute' % (filename, 
lineno)
-    if closer in ('movement_costs', 'defense') and 'grassland' in attributes 
and 'road' not in attributes:
-        print '"%s", line %d: [%s] without road attribute' % (filename, 
lineno, closer)
+    #if closer in ('movement_costs', 'defense') and 'grassland' in 
attributes and 'road' not in attributes:
+    #    print '"%s", line %d: [%s] without road attribute' % (filename, 
lineno, closer)
 
 def within(tag):
     "Did the specified tag lead one of our enclosing contexts?"




Related Messages


Powered by MHonArc, Updated Sat Mar 08 09:20:39 2008