Merge lp:~mew/charm-helpers/relationset-withdict into lp:charm-helpers
Proposed by
Matthew Wedgwood
Status: | Merged |
---|---|
Approved by: | Haw Loeung |
Approved revision: | 14 |
Merged at revision: | 13 |
Proposed branch: | lp:~mew/charm-helpers/relationset-withdict |
Merge into: | lp:charm-helpers |
Diff against target: |
41 lines (+10/-2) 2 files modified
charmhelpers/core/hookenv.py (+3/-1) tests/core/test_hookenv.py (+7/-1) |
To merge this branch: | bzr merge lp:~mew/charm-helpers/relationset-withdict |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Haw Loeung | Approve | ||
Review via email: mp+166678@code.launchpad.net |
Commit message
Accommodate relation setting keys that are not valid python identifiers
Description of the change
**kwargs only accepts keys that are valid python identifiers. This change allows relation-set to take settings that, for example, contain dashes. It maintains backward compatibility with **kwargs settings.
To post a comment you must log in.
Looks good to me, +1