Remove what we're checking for membership

pull/8303/head
Jimmy Brisson 2018-10-19 10:19:51 -05:00
parent 98e0faa551
commit 418ca3a473
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ class Resources(object):
if into_path is None:
into_path = path
if self._collect_ignores and relpath(path, base_path) in self.ignored_dirs:
self.ignored_dirs.remove(path)
self.ignored_dirs.remove(relpath(path, base_path))
if exclude_paths:
self.add_ignore_patterns(
path, base_path, [join(e, "*") for e in exclude_paths])