Merge lp:~arges/charm-helpers/fix-lp1308557 into lp:charm-helpers

Proposed by Chris J Arges
Status: Merged
Merged at revision: 143
Proposed branch: lp:~arges/charm-helpers/fix-lp1308557
Merge into: lp:charm-helpers
Diff against target: 33 lines (+3/-3)
2 files modified
charmhelpers/fetch/__init__.py (+1/-1)
tests/fetch/test_fetch.py (+2/-2)
To merge this branch: bzr merge lp:~arges/charm-helpers/fix-lp1308557
Reviewer Review Type Date Requested Status
Marco Ceppi Approve
Review via email: mp+216116@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Edward Hope-Morley (hopem) wrote :

Chris this LTGM. Please confirm that is has bee tested. I see that you have synced this into a couple of charms so if they work fine then we can ship this.

Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

OK, all tests are passing.

---------------------------------------------------------------------------
TOTAL 2917 220 92%
----------------------------------------------------------------------
Ran 595 tests in 2.259s

OK

PS: test_requirements are not working properly. Proposed MR on this; https://code.launchpad.net/~niedbalski/charm-helpers/fix-test_requirements/+merge/216902

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
1=== modified file 'charmhelpers/fetch/__init__.py'
2--- charmhelpers/fetch/__init__.py 2014-03-20 13:26:03 +0000
3+++ charmhelpers/fetch/__init__.py 2014-04-16 14:02:53 +0000
4@@ -184,7 +184,7 @@
5 apt.write(PROPOSED_POCKET.format(release))
6 if key:
7 subprocess.check_call(['apt-key', 'adv', '--keyserver',
8- 'keyserver.ubuntu.com', '--recv',
9+ 'hkp://keyserver.ubuntu.com:80', '--recv',
10 key])
11
12
13
14=== modified file 'tests/fetch/test_fetch.py'
15--- tests/fetch/test_fetch.py 2014-03-26 10:26:36 +0000
16+++ tests/fetch/test_fetch.py 2014-04-16 14:02:53 +0000
17@@ -181,7 +181,7 @@
18 fetch.add_source(source=source, key=key)
19 check_call.assert_has_calls([
20 call(['add-apt-repository', '--yes', source]),
21- call(['apt-key', 'adv', '--keyserver', 'keyserver.ubuntu.com',
22+ call(['apt-key', 'adv', '--keyserver', 'hkp://keyserver.ubuntu.com:80',
23 '--recv', key])
24 ])
25
26@@ -192,7 +192,7 @@
27 fetch.add_source(source=source, key=key)
28 check_call.assert_has_calls([
29 call(['add-apt-repository', '--yes', source]),
30- call(['apt-key', 'adv', '--keyserver', 'keyserver.ubuntu.com',
31+ call(['apt-key', 'adv', '--keyserver', 'hkp://keyserver.ubuntu.com:80',
32 '--recv', key])
33 ])
34

Subscribers

People subscribed via source and target branches