mail[Wesnoth-commits] r34273 - /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 30, 2009 - 03:40:
Author: esr
Date: Mon Mar 30 03:40:36 2009
New Revision: 34273

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34273&view=rev
Log:
For bug #13095, warn on files with a tilde *anywhere*.

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=34273&r1=34272&r2=34273&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Mon Mar 30 03:40:36 2009
@@ -1931,7 +1931,7 @@
                                              backup, fn, fromdate, todate, 
n=3)
                         sys.stdout.writelines(diff)
                 else:
-                    if fn.endswith("~"):
+                    if "~" in fn:
                         print "wmllint: ignoring %s, the campaign server 
won't accept it." % fn
                         continue
                     # Do file conversions




Related Messages


Powered by MHonArc, Updated Mon Mar 30 04:20:29 2009