mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
classes/lib: Update to match python3 iter requirements
python3 standardises its use of iteration operations. Update the code to match the for python3 requires. (From OE-Core rev: 2476bdcbef591e951d11d57d53f1315848758571) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -50,7 +50,7 @@ class DevtoolBase(oeSelfTest):
|
||||
|
||||
|
||||
missingvars = {}
|
||||
for var, value in checkvars.iteritems():
|
||||
for var, value in checkvars.items():
|
||||
if value is not None:
|
||||
missingvars[var] = value
|
||||
self.assertEqual(missingvars, {}, 'Some expected variables not found in recipe: %s' % checkvars)
|
||||
|
||||
Reference in New Issue
Block a user