mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
update_classic_status: set cover_pn from pn for direct match
If we always set cover_pn if there is a match rather than only setting it if it's different from pn then it simplifies the code elsewhere. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
cbdd7771dd
commit
dd64112a75
|
@ -77,6 +77,7 @@ def main():
|
|||
for replrecipe in replquery:
|
||||
logger.debug('Matched %s in layer %s' % (recipe.pn, replrecipe.layerbranch.layer.name))
|
||||
recipe.cover_layerbranch = replrecipe.layerbranch
|
||||
recipe.cover_pn = replrecipe.pn
|
||||
recipe.cover_status = 'D'
|
||||
recipe.cover_verified = False
|
||||
recipe.save()
|
||||
|
|
Loading…
Reference in New Issue
Block a user