summaryrefslogtreecommitdiff
path: root/paste/debug/fsdiff.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/debug/fsdiff.py')
-rw-r--r--paste/debug/fsdiff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/debug/fsdiff.py b/paste/debug/fsdiff.py
index 96f2744..2849ea8 100644
--- a/paste/debug/fsdiff.py
+++ b/paste/debug/fsdiff.py
@@ -117,7 +117,7 @@ class Snapshot(IterableUserDict):
if self.ignore_hidden and os.path.basename(fn).startswith('.'):
return True
for pat in self.ignore_wildcards:
- if fnmatch(fn, path):
+ if fnmatch(fn, pat):
return True
return False