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


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to