mail[Wesnoth-commits] r20286 - /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 September 11, 2007 - 00:16:
Author: esr
Date: Tue Sep 11 00:16:13 2007
New Revision: 20286

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20286&view=rev
Log:
Fulfill half of an IRC feature request by zookeeper.

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=20286&r1=20285&r2=20286&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Tue Sep 11 00:16:13 2007
@@ -648,6 +648,7 @@
         modcount += 1
     # Insert attacks where they belong
     female_attacks = filter(lambda a: a.female, animations)
+    female_attacks.reverse()
     if female_attacks:
         female_end = -1
         for i in range(len(lines)):
@@ -658,6 +659,7 @@
         female_wml = "".join(map(lambda x: x.wml, female_attacks))
         lines = lines[:female_end] + [female_wml] + lines[female_end:]
     male_attacks = filter(lambda a: not a.female, animations)
+    male_attacks.reverse()
     if male_attacks:
         male_end = -1
         for i in range(len(lines)):




Related Messages


Powered by MHonArc, Updated Tue Sep 11 00:40:26 2007