diff options
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r-- | bitbake/lib/bb/data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 19066c9adc..9f7e4be4c8 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -542,8 +542,8 @@ def update_data(d): | |||
542 | 542 | ||
543 | 543 | ||
544 | def inherits_class(klass, d): | 544 | def inherits_class(klass, d): |
545 | val = getVar('__inherit_cache', d) or "" | 545 | val = getVar('__inherit_cache', d) or [] |
546 | if os.path.join('classes', '%s.bbclass' % klass) in val.split(): | 546 | if os.path.join('classes', '%s.bbclass' % klass) in val: |
547 | return True | 547 | return True |
548 | return False | 548 | return False |
549 | 549 | ||