swap update and exclude loops
This commit is contained in:
parent
164d73e70d
commit
4b206f9e8f
@ -1265,16 +1265,16 @@ class IsoBuild:
|
||||
for zm in sorted(result, key=self._sorting):
|
||||
found = False
|
||||
replace = False
|
||||
for excl in exclude:
|
||||
#if fnmatch(zm, excl):
|
||||
if excl in zm:
|
||||
found = True
|
||||
break
|
||||
for upda in update:
|
||||
#if fnmatch(zm, upda):
|
||||
if upda in zm:
|
||||
replace = True
|
||||
break
|
||||
for excl in exclude:
|
||||
#if fnmatch(zm, excl):
|
||||
if excl in zm:
|
||||
found = True
|
||||
break
|
||||
if found:
|
||||
continue
|
||||
mcmd = "-update" if replace else "-map"
|
||||
|
Loading…
Reference in New Issue
Block a user