Fix flake8-comprehensions C403 Unnecessary list comprehension

This commit is contained in:
Labrys of Knossos 2019-04-05 14:34:46 -04:00
commit b9c7eec834

View file

@ -713,7 +713,7 @@ def combine_vts(vts_path):
def combine_cd(combine):
new_files = []
for item in set([re.match('(.+)[cC][dD][0-9].', item).groups()[0] for item in combine]):
for item in {re.match('(.+)[cC][dD][0-9].', item).groups()[0] for item in combine}:
concat = ''
for n in range(99):
files = [file for file in combine if