In tidy, screen out emacs backup files properly

This commit is contained in:
Tim Chevalier 2012-08-15 11:53:38 -07:00
parent 1e96099918
commit b0f289397c

View File

@ -19,7 +19,7 @@ def report_err(s):
err=1
file_names = [s for s in sys.argv[1:] if (not s.endswith("_gen.rs"))
and (not s.startswith(".#"))]
and (not ".#" in s)]
try:
for line in fileinput.input(file_names,