mail[Wesnoth-commits] r24552 - /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 12, 2008 - 06:42:
Author: esr
Date: Wed Mar 12 06:42:36 2008
New Revision: 24552

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24552&view=rev
Log:
Notify iser when we add map bordewrs, in case the code hits a false positive.

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=24552&r1=24551&r2=24552&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Wed Mar 12 06:42:36 2008
@@ -1700,8 +1700,8 @@
             if maptype == "mask":
                 add_border = False
             if add_border:
-                if verbose:
-                    print "adding border..."
+                print '%s, "line %d": adding map border...' % \
+                      (filename, baseline)
                 newdata.append("border_size=1" + terminator)
                 have_header = True
                 # Start by duplicating the current outermost ring
@@ -1718,6 +1718,8 @@
                 outermap(lambda n: n.replace(r"Gg^Fet", r"Gs^Fp"), outmap)
                 modified = True
             if add_usage:
+                print '%s, "line %d": adding %s usage header...' % \
+                      (filename, baseline, maptype)
                 newdata.append("usage=" + maptype + terminator)
                 have_header = True
                 modified = True




Related Messages


Powered by MHonArc, Updated Wed Mar 12 07:40:45 2008