diff options
-rw-r--r-- | bitbake/lib/bb/parse/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py index 97983c9880..e4a44dda11 100644 --- a/bitbake/lib/bb/parse/__init__.py +++ b/bitbake/lib/bb/parse/__init__.py | |||
@@ -127,7 +127,7 @@ def resolve_file(fn, d): | |||
127 | # Used by OpenEmbedded metadata | 127 | # Used by OpenEmbedded metadata |
128 | __pkgsplit_cache__={} | 128 | __pkgsplit_cache__={} |
129 | def vars_from_file(mypkg, d): | 129 | def vars_from_file(mypkg, d): |
130 | if not mypkg: | 130 | if not mypkg or not mypkg.endswith((".bb", ".bbappend")): |
131 | return (None, None, None) | 131 | return (None, None, None) |
132 | if mypkg in __pkgsplit_cache__: | 132 | if mypkg in __pkgsplit_cache__: |
133 | return __pkgsplit_cache__[mypkg] | 133 | return __pkgsplit_cache__[mypkg] |