Remove unused variable.

This commit is contained in:
Georg Brandl
2010-01-06 15:43:31 +01:00
parent 975e0175cc
commit 86f0e75b75

View File

@@ -277,7 +277,6 @@ def patfilter(names, pat):
Return the subset of the list NAMES that match PAT.
Adapted from fnmatch module.
"""
result = []
if pat not in _pat_cache:
_pat_cache[pat] = re.compile(_translate_pattern(pat))
match = _pat_cache[pat].match