280
280
"""Check whether the filename matches an ignore pattern.
282
282
Patterns containing '/' need to match the whole path; others
286
291
for pat in self.get_ignore_list():
288
293
if fnmatch.fnmatchcase(filename, pat):
291
296
if fnmatch.fnmatchcase(splitpath(filename)[-1], pat):