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


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

Header


Content

Posted by Soliton on September 20, 2007 - 19:30:
Author: soliton
Date: Thu Sep 20 19:29:49 2007
New Revision: 20626

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20626&view=rev
Log:
* give a more descriptive error message

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=20626&r1=20625&r2=20626&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Thu Sep 20 19:29:49 2007
@@ -746,7 +746,7 @@
     # Check for duplicated attack names -- may be a result of a naive
     # boucman conversion.
     if boucmanized:
-        name_pos = wmlfind("name=", WmlIterator(lines))
+        name_pos = wmlfind("name=", WmlIterator(lines, filename))
         duplist = {}
         while name_pos is not None:
             key = lines[name_pos.lineno].strip()




Related Messages


Powered by MHonArc, Updated Thu Sep 20 19:40:43 2007