mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-08 09:49:51 +00:00
Remove redundant check
This commit is contained in:
parent
4b4cc04e87
commit
e533a396fb
@ -169,12 +169,6 @@ class ExcludeList(Markable):
|
|||||||
|
|
||||||
def build_compiled_caches(self, union=False):
|
def build_compiled_caches(self, union=False):
|
||||||
if not union:
|
if not union:
|
||||||
if not ISWINDOWS:
|
|
||||||
self._cached_compiled_files =\
|
|
||||||
[x for x in self._excluded_compiled if not has_sep(x.pattern)]
|
|
||||||
self._cached_compiled_paths =\
|
|
||||||
[x for x in self._excluded_compiled if has_sep(x.pattern)]
|
|
||||||
else:
|
|
||||||
self._cached_compiled_files =\
|
self._cached_compiled_files =\
|
||||||
[x for x in self._excluded_compiled if not has_sep(x.pattern)]
|
[x for x in self._excluded_compiled if not has_sep(x.pattern)]
|
||||||
self._cached_compiled_paths =\
|
self._cached_compiled_paths =\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user