scripts/link-tree.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bd8a0db8c7a2d7457e7affc90eabe61e2d537d2c
Author: Partha Aji <paji(a)redhat.com>
Date: Thu May 27 19:29:40 2010 -0400
added swp files and files ending with ~ to ignore
diff --git a/scripts/link-tree.py b/scripts/link-tree.py
index 818fa10..66b8a21 100755
--- a/scripts/link-tree.py
+++ b/scripts/link-tree.py
@@ -21,7 +21,7 @@ def need_to_backup(src_dir, dest_dir):
return False
-def ignorable(f, ignorables = ["*.pyc", "*.pyo", "*.pyd",
"Makefile*"]):
+def ignorable(f, ignorables = ["*.*~", "*.swp", "*.pyc",
"*.pyo", "*.pyd", "Makefile*"]):
for i in ignorables:
if fnmatch.fnmatch(f, i): return True
return False
Show replies by date