Merge lp:~gz/langpack-o-matic/fetch_tarballs_urlopen_1043846 into lp:langpack-o-matic
Proposed by
Martin Packman
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 430 | ||||
Proposed branch: | lp:~gz/langpack-o-matic/fetch_tarballs_urlopen_1043846 | ||||
Merge into: | lp:langpack-o-matic | ||||
Diff against target: |
32 lines (+7/-6) 1 file modified
lib/static_translations.py (+7/-6) |
||||
To merge this branch: | bzr merge lp:~gz/langpack-o-matic/fetch_tarballs_urlopen_1043846 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt (community) | Approve | ||
Review via email: mp+122086@code.launchpad.net |
Description of the change
Raise an exception if when fetching a tarball launchpad gives an error page. This branch basically just switches urlretrieve which ignores errors for urlopen which throws instead.
I've manually tested this with Python 2 and it appears to work, but I'm not sure if the code is exercised by the existing automated testing.
To post a comment you must log in.
Thanks for this!