Merge lp:~free.ekanayaka/charm-helpers/relation-set-file into lp:charm-helpers
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 381 | ||||
| Proposed branch: | lp:~free.ekanayaka/charm-helpers/relation-set-file | ||||
| Merge into: | lp:charm-helpers | ||||
| Diff against target: |
155 lines (+91/-10) 2 files modified
charmhelpers/core/hookenv.py (+27/-6) tests/core/test_hookenv.py (+64/-4) |
||||
| To merge this branch: | bzr merge lp:~free.ekanayaka/charm-helpers/relation-set-file | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Chris Glass (community) | 2015-05-29 | Approve on 2015-05-29 | |
| Björn Tillenius (community) | Approve on 2015-05-29 | ||
|
Review via email:
|
|||
Description of the Change
This branch re-introduces the code that was added in:
https:/
but backed out in r379 due to the bug linked to this MP.
The solution is to the describe by Bjorn in comment #5 of the bug linked to this branch (Bug #1459175). Essentially we do the same conversion to string as we do with the command-line-args version.
- 382. By Free Ekanayaka on 2015-05-29
-
Properly handle None
| Free Ekanayaka (free.ekanayaka) wrote : | # |
> Thanks for readding this feature in a working state! You have one bug in
> there. I fixed it in lp:~bjornt/charm-helpers/relation-set-file, so you can
> merge that one and things should be good to go.
Good catch. Merged and pushed.
| Chris Glass (tribaal) wrote : | # |
This looks good, and should address the linked bug.
Note: this branch incorporates the changes in https:/
Merging.


Thanks for readding this feature in a working state! You have one bug in there. I fixed it in lp:~bjornt/charm-helpers/relation-set-file, so you can merge that one and things should be good to go.