diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2016-04-10 18:27:02 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2016-04-10 18:34:53 +0100 |
commit | 401aad76b852d22fefc896718e6520a52f69a64d (patch) | |
tree | 2a9777b54e802a3e25b05753fee63183e11bda9b /LICENSE | |
parent | 76833a2578c9830160486d011f7791ed8f763276 (diff) | |
download | spec-401aad76b852d22fefc896718e6520a52f69a64d.tar.gz |
migrations: Fix version 6 migration when build system isn't detected
Turns this...
../spec/migrations/006-specify-build-system.py:
Traceback (most recent call last):
File "../spec/migrations/006-specify-build-system.py", line 340, in
<module>
modify_cb=ensure_buildsystem_defined_where_needed)
File "/home/sam/baserock/spec/migrations/migrations.py", line 220, in
process_definitions
changed = modify_cb(contents, filename)
File "../spec/migrations/006-specify-build-system.py", line 327, in
ensure_buildsystem_defined_where_needed
chunk_ref['build-system'] = build_system.name
AttributeError: 'NoneType' object has no attribute 'name'
Into this:
../spec/migrations/006-specify-build-system.py:
WARNING: Couldn't work out the build system of chunk Module-Build-Tiny
WARNING: Couldn't work out the build system of chunk Params-Validate
Change-Id: I9bc5408e6550303023abb839a45e6562306e4702
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions