summaryrefslogtreecommitdiff
path: root/paste
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
commite10fe866549e5ebb774b12912c40974255522dfa (patch)
treefd3a3f59a0e5a587c53ea8ced8c4ecb66acc84da /paste
parent7dcf18750c784d20554a1d917ddd513e30a5e609 (diff)
downloadpaste-e10fe866549e5ebb774b12912c40974255522dfa.tar.gz
Fix paste.debug.fsdiff.Snapshot._ignore_file()
Remove a duplicated method, keep the implementation using ignore_wildcards.
Diffstat (limited to 'paste')
-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):