Merge lp://qastaging/~dholbach/snapcraft/fix-for-empty-stage_packages-in-plugins into lp://qastaging/~snappy-dev/snapcraft/core
Proposed by
Daniel Holbach
Status: | Merged |
---|---|
Approved by: | Sergio Schvezov |
Approved revision: | 164 |
Merged at revision: | 164 |
Proposed branch: | lp://qastaging/~dholbach/snapcraft/fix-for-empty-stage_packages-in-plugins |
Merge into: | lp://qastaging/~snappy-dev/snapcraft/core |
Diff against target: |
12 lines (+1/-1) 1 file modified
snapcraft/__init__.py (+1/-1) |
To merge this branch: | bzr merge lp://qastaging/~dholbach/snapcraft/fix-for-empty-stage_packages-in-plugins |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergio Schvezov | Approve | ||
Review via email:
|
Commit message
fix crash when stage_packages is defined in the yaml for the plugin, but empty (getattr does not use [] as default return value in that case)
To post a comment you must log in.
Thanks for this, I have this available in a complicated branch, I'll take your fix as it is isolated :-)
In case you want to take a look https:/ /code.launchpad .net/~sergiusen s/snapcraft/ config/ +merge/ 270989 ;-)