cmake-lib.bbclass: unbreak parsing for python3 environment

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2016-07-29 14:04:06 +02:00
parent 9f0ebf8da1
commit 9a4e333471

View File

@@ -70,7 +70,7 @@ def get_align_flags(d):
# global helper to check CMAKE_ALIGN_SYSROOT array contains 'ignore'
def get_flags_ignore(flags):
if flags and flags.values().count('ignore') > 0:
if flags and list(flags.values()).count('ignore') > 0:
return True
return False