Merge lp:~james-w/python-oops-dictconfig/check-new-only into lp:python-oops-dictconfig
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | 13 |
Merged at revision: | 13 |
Proposed branch: | lp:~james-w/python-oops-dictconfig/check-new-only |
Merge into: | lp:python-oops-dictconfig |
Diff against target: |
48 lines (+19/-1) 2 files modified
oops_dictconfig/dictconfig.py (+1/-1) oops_dictconfig/tests/test_dictconfig.py (+18/-0) |
To merge this branch: | bzr merge lp:~james-w/python-oops-dictconfig/check-new-only |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby (community) | Approve | ||
Sidnei da Silva (community) | Approve | ||
Review via email: mp+149897@code.launchpad.net |
Commit message
Check the value of 'new_only' before deciding whether to wrap the publisher.
Description of the change
Hi,
Currently if the 'new_only' key is in the dict definition then the
resulting publisher will be wrapped. Sometimes it's easier for the
creator to include the key but set it to False, so we check the value
as well before wrapping the publisher.
Thanks,
James
To post a comment you must log in.