Merge lp:~dholbach/snapcraft/fix-for-empty-stage_packages-in-plugins into lp:~snappy-dev/snapcraft/core
Proposed by
Daniel Holbach
on 2015-09-15
| Status: | Merged |
|---|---|
| Approved by: | Sergio Schvezov on 2015-09-15 |
| Approved revision: | 164 |
| Merged at revision: | 164 |
| Proposed branch: | lp:~dholbach/snapcraft/fix-for-empty-stage_packages-in-plugins |
| Merge into: | lp:~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:~dholbach/snapcraft/fix-for-empty-stage_packages-in-plugins |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sergio Schvezov | 2015-09-15 | Approve on 2015-09-15 | |
|
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 ;-)