Merge ~boginw/langpack-o-matic:master into langpack-o-matic:master
Status: | Merged |
---|---|
Approved by: | Sebastien Bacher |
Approved revision: | 9dd4165257a7ecc562ea88061e184faff935fab8 |
Merged at revision: | a1e6f3b2c5af4172c7a0225e2d344690be75b62f |
Proposed branch: | ~boginw/langpack-o-matic:master |
Merge into: | langpack-o-matic:master |
Diff against target: |
119 lines (+34/-8) 5 files modified
.gitignore (+5/-0) README.md (+14/-0) import (+11/-7) lib/makepkg.py (+1/-1) lib/static_translations.py (+3/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher | Approve | ||
Review via email: mp+433141@code.launchpad.net |
Commit message
Added basic readme and made scripts compatible with Python 3
Description of the change
As Python 2 was sunset on the 1st of January 2020 if the project should stay useful it must be compatible with Python 3.
This merge proposal mainly focuses on the `import` script. Most of the code is already compatible with Python 3, but there are a few places where `urlopen` is used from `urllib2`, instead of `urllib.request`. This merge proposal proposes using a fallback import like is already used in `lib/static_
Finally, this merge proposal introduces a basic README.md, including the prerequisites which I had to follow in order to get the import script to work.
Thanks!