srcrev_update: use renamed variable

oe-core renamed its internal variable, set both old and new variable
to work with old and new versions of oe-core.

Change-Id: I90293c6d37c3ca5d5d82d67e1269afa2b12f1d89
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 44990089fc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Samuli Piippo 2023-04-19 09:17:43 +00:00 committed by Qt Cherry-pick Bot
parent 65e670e290
commit 01bae54aad

View File

@ -17,6 +17,7 @@ python do_srcrev_update() {
return
d.setVar("__BBSEENSRCREV", "1")
d.setVar("__BBSRCREV_SEEN", "1")
for scm in scms:
ud = urldata[scm]
for name in ud.names: