diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:15:08 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:15:08 +0200 |
commit | e10fe866549e5ebb774b12912c40974255522dfa (patch) | |
tree | fd3a3f59a0e5a587c53ea8ced8c4ecb66acc84da | |
parent | 7dcf18750c784d20554a1d917ddd513e30a5e609 (diff) | |
download | paste-e10fe866549e5ebb774b12912c40974255522dfa.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.py | 7 |
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): |