don't allow ExclusiveArch to expand the archlist (see rhbz#239359)

This commit is contained in:
Mike McLean 2007-05-22 13:04:26 -04:00
parent c1ee00058f
commit d4b5499f38

View file

@ -1562,7 +1562,7 @@ class BuildTask(BaseTaskHandler):
archlist = buildarchs
self.logger.debug('archlist after buildarchs: %r' % archlist)
if exclusivearch:
archlist = exclusivearch
archlist = [ a for a in archlist if a in exclusivearch ]
self.logger.debug('archlist after exclusivearch: %r' % archlist)
if excludearch:
archlist = [ a for a in archlist if a not in excludearch ]