Extract PackageList class from publisher.py

Bug #1487321 reported by Robert Bruce Park
6
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.PackageList, which then imports everything publisher imports. If we moved PackageList into it's own module it would dramatically decrease the frequency with which I break publication by committing python3-isms to trunk.

Related branches

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:cupstream2distro at revision 1035, scheduled for release in cupstream2distro, milestone Unknown

Changed in cupstream2distro:
status: Triaged → Fix Committed
Changed in cupstream2distro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.