Merge lp:~vorlon/ddeb-retriever/python3 into lp:ddeb-retriever
Proposed by
Steve Langasek
on 2017-05-18
| Status: | Merged |
|---|---|
| Merged at revision: | 173 |
| Proposed branch: | lp:~vorlon/ddeb-retriever/python3 |
| Merge into: | lp:ddeb-retriever |
| Diff against target: |
515 lines (+110/-84) 3 files modified
archive_tools.py (+97/-79) ddeb-retriever (+1/-1) ddeb_retriever.py (+12/-4) |
| To merge this branch: | bzr merge lp:~vorlon/ddeb-retriever/python3 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brian Murray (community) | 2017-05-18 | Approve on 2017-07-10 | |
| Colin Watson | 2017-05-18 | Approve on 2017-05-23 | |
|
Review via email:
|
|||
Description of the Change
Since germanium is running 16.04 already, we should use python3 rather than python2, so move this over in one go. Also, use urllib.
To post a comment you must log in.
| Steve Langasek (vorlon) wrote : | # |
didn't notice ddeb_retriever.py had a shebang since it wasn't executable. thanks, fixed. also fixed the whitespace consistency issue.
lp:~vorlon/ddeb-retriever/python3
updated
on 2017-05-23
- 175. By Steve Langasek on 2017-05-23
-
also fix shebang in ddeb_retriever.py (though unused)
- 176. By Steve Langasek on 2017-05-23
-
spacing consistency
review:
Approve
review:
Approve
lp:~vorlon/ddeb-retriever/python3
updated
on 2017-07-10
- 177. By Steve Langasek on 2017-05-23
-
better python3ing of hash sorting
- 178. By Steve Langasek on 2017-05-23
-
with gzip.open
- 179. By Steve Langasek on 2017-07-10
-
Write to a temporary file, to avoid truncated downloads on interrupt

Is there a reason the shebang in ddeb_retriever.py wasn't changed to python3 also?
I also have one nitpicky comment which you can find in-line.