Author: esr
Date: Mon Mar 30 03:36:22 2009
New Revision: 34272
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34272&view=rev
Log:
Address bug #13095 by having wmllint throw a warning on filenames ending in
tilde.
Modified:
trunk/data/tools/wmllint
Modified: trunk/data/tools/wmllint
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=34272&r1=34271&r2=34272&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Mon Mar 30 03:36:22 2009
@@ -1931,6 +1931,9 @@
backup, fn, fromdate, todate, n=3)
sys.stdout.writelines(diff)
else:
+ if fn.endswith("~"):
+ print "wmllint: ignoring %s, the campaign server won't
accept it." % fn
+ continue
# Do file conversions
try:
changed = translator(fn, [], texttransform)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits