Extract PackageList class from publisher.py
Bug #1487321 reported by
Robert Bruce Park
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CI Train [cu2d] |
Fix Released
|
Undecided
|
Robert Bruce Park |
Bug Description
So for the most part the train is python3 (jenkins runs exclusively python3) but the copy2distro script runs python2 because the server it runs on is just ancient. I often trip over this and write python3 code that inadvertently gets imported into the python2-only copy2distro script.
copy2distro doesn't actually have that many imports, but one of them is publisher.
Related branches
lp:~robru/cupstream2distro/refactor-packagelist
- Robert Bruce Park (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 448 lines (+232/-152)5 files modifiedcitrain/publisher.py (+2/-72)
copy2distro (+1/-1)
cupstream2distro/packagelist.py (+107/-0)
tests/unit/test_packagelist.py (+121/-0)
tests/unit/test_script_publisher.py (+1/-79)
Changed in cupstream2distro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:cupstream2distro at revision 1035, scheduled for release in cupstream2distro, milestone Unknown