Address bug #13095 by having wmllint throw a warning...
...on filenames ending in tilde.
This commit is contained in:
parent
c198e81f25
commit
2a84210a82
1 changed files with 3 additions and 0 deletions
|
@ -1931,6 +1931,9 @@ if __name__ == '__main__':
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue