Make tidy skip emacs backup files

This commit is contained in:
Tim Chevalier 2012-07-29 15:59:08 -07:00
parent 181f671b4d
commit 3cb147a71e

View file

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