forked from sig_core/toolkit
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):
|
for zm in sorted(result, key=self._sorting):
|
||||||
found = False
|
found = False
|
||||||
replace = False
|
replace = False
|
||||||
for excl in exclude:
|
|
||||||
#if fnmatch(zm, excl):
|
|
||||||
if excl in zm:
|
|
||||||
found = True
|
|
||||||
break
|
|
||||||
for upda in update:
|
for upda in update:
|
||||||
#if fnmatch(zm, upda):
|
#if fnmatch(zm, upda):
|
||||||
if upda in zm:
|
if upda in zm:
|
||||||
replace = True
|
replace = True
|
||||||
break
|
break
|
||||||
|
for excl in exclude:
|
||||||
|
#if fnmatch(zm, excl):
|
||||||
|
if excl in zm:
|
||||||
|
found = True
|
||||||
|
break
|
||||||
if found:
|
if found:
|
||||||
continue
|
continue
|
||||||
mcmd = "-update" if replace else "-map"
|
mcmd = "-update" if replace else "-map"
|
||||||
|
Loading…
Reference in New Issue
Block a user