summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-04-22 02:15:08 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-04-22 02:15:08 +0200
commit5a9045bd58723938ab6e335a6605dc5abd58dba2 (patch)
treefd3a3f59a0e5a587c53ea8ced8c4ecb66acc84da
parentd277a543430435eea6e7027c74b3ac0a5a3bc8dc (diff)
downloadpaste-git-5a9045bd58723938ab6e335a6605dc5abd58dba2.tar.gz
Fix paste.debug.fsdiff.Snapshot._ignore_file()
Remove a duplicated method, keep the implementation using ignore_wildcards.
-rw-r--r--paste/debug/fsdiff.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/paste/debug/fsdiff.py b/paste/debug/fsdiff.py
index 136b869..6f9ec2d 100644
--- a/paste/debug/fsdiff.py
+++ b/paste/debug/fsdiff.py
@@ -127,13 +127,6 @@ class Snapshot(IterableUserDict):
return True
return False
- def _ignore_file(self, fn):
- if fn in self.ignore_paths:
- return True
- if self.ignore_hidden and os.path.basename(fn).startswith('.'):
- return True
- return False
-
def _find_traverse(self, path, result):
full = os.path.join(self.base_path, path)
if os.path.isdir(full):