mail[Wesnoth-commits] r34272 - /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:36:
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)




Related Messages


Powered by MHonArc, Updated Mon Mar 30 04:00:39 2009