mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
yocto_console_view: Fix delete syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ba6fe2cbc0
commit
6d2568c69c
|
@ -276,9 +276,9 @@ class Console extends Controller
|
|||
if not change?
|
||||
if buildset? and buildset.parent_buildid?
|
||||
oldrev = "Unresolved #{buildset.parent_buildid}"
|
||||
delete @changesBySSID.oldrev
|
||||
delete @changesBySSID[oldrev]
|
||||
oldrev = "Unresolved #{build.builderid}-#{build.buildid}"
|
||||
delete @changesBySSID.oldrev
|
||||
delete @changesBySSID[oldrev]
|
||||
change = @makeFakeChange(rev, build.started_at, rev)
|
||||
change.caption = "Commit"
|
||||
if build.properties?.yp_build_branch?
|
||||
|
@ -294,7 +294,7 @@ class Console extends Controller
|
|||
change = @changesBySSID[rev]
|
||||
if not change?
|
||||
oldrev = "Unresolved #{build.builderid}-#{build.buildid}"
|
||||
delete @changesBySSID.oldrev
|
||||
delete @changesBySSID[oldrev]
|
||||
change = @makeFakeChange(rev, build.started_at, rev)
|
||||
if not change?
|
||||
rev = "Unresolved #{build.builderid}-#{build.buildid}"
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user