From e10fe866549e5ebb774b12912c40974255522dfa Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 22 Apr 2015 02:15:08 +0200 Subject: Fix paste.debug.fsdiff.Snapshot._ignore_file() Remove a duplicated method, keep the implementation using ignore_wildcards. --- paste/debug/fsdiff.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'paste/debug') 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): -- cgit v1.2.1