Merge lp://qastaging/~stub/charm-helpers/fix-configure_sources into lp://qastaging/charm-helpers

Proposed by Stuart Bishop
Status: Merged
Merged at revision: 174
Proposed branch: lp://qastaging/~stub/charm-helpers/fix-configure_sources
Merge into: lp://qastaging/charm-helpers
Diff against target: 83 lines (+37/-15)
2 files modified
charmhelpers/fetch/__init__.py (+23/-15)
tests/fetch/test_fetch.py (+14/-0)
To merge this branch: bzr merge lp://qastaging/~stub/charm-helpers/fix-configure_sources
Reviewer Review Type Date Requested Status
Marco Ceppi Approve
Jorge Niedbalski (community) Approve
Review via email: mp+222162@code.qastaging.launchpad.net

Description of the change

fetch.configure_sources() is busted, and explodes by default when the user has not set the config items.

Fix this. Also fix the docstring. And tests.

To post a comment you must log in.
Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

LGTM +1, the original code was broken with no config items. Also all your changes are covered by the submitted unit tests.

charmhelpers.fetch 95% 159, 294, 347-354

Thank you.

review: Approve
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches