diff options
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.15.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.15.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb index dd969d8e7e..c22c762d99 100644 --- a/meta/recipes-devtools/python/python_2.7.15.bb +++ b/meta/recipes-devtools/python/python_2.7.15.bb | |||
@@ -198,7 +198,11 @@ python(){ | |||
198 | bb.parse.mark_dependency(d, filename) | 198 | bb.parse.mark_dependency(d, filename) |
199 | 199 | ||
200 | with open(filename) as manifest_file: | 200 | with open(filename) as manifest_file: |
201 | python_manifest=json.load(manifest_file, object_pairs_hook=collections.OrderedDict) | 201 | manifest_str = manifest_file.read() |
202 | json_start = manifest_str.find('# EOC') + 6 | ||
203 | manifest_file.seek(json_start) | ||
204 | manifest_str = manifest_file.read() | ||
205 | python_manifest = json.loads(manifest_str, object_pairs_hook=collections.OrderedDict) | ||
202 | 206 | ||
203 | include_pycs = d.getVar('INCLUDE_PYCS') | 207 | include_pycs = d.getVar('INCLUDE_PYCS') |
204 | 208 | ||