if we are scanning a build we can not use prefer new so make sure we dont.
This commit is contained in:
parent
2da42499e3
commit
08e911dac7
1 changed files with 1 additions and 1 deletions
|
|
@ -717,7 +717,7 @@ class BuildTracker(object):
|
|||
if depth > 0:
|
||||
print "%sDep replaced: %s->%s" % (head, build.nvr, replace)
|
||||
return build
|
||||
if options.prefer_new:
|
||||
if options.prefer_new and not options.build:
|
||||
latestBuild = self.newerBuild(build, tag)
|
||||
if latestBuild != None:
|
||||
build.substitute = latestBuild.nvr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue