From b0f289397ce47ed8c4d4f97d94408e83a59abd5a Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 15 Aug 2012 11:53:38 -0700 Subject: [PATCH] In tidy, screen out emacs backup files properly --- src/etc/tidy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/tidy.py b/src/etc/tidy.py index b46a6fd83916..2c498b9283ff 100644 --- a/src/etc/tidy.py +++ b/src/etc/tidy.py @@ -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,