Merge lp://qastaging/~smoser/simplestreams/trunk.fix-bionic-tools into lp://qastaging/simplestreams

Proposed by Scott Moser
Status: Merged
Merged at revision: 458
Proposed branch: lp://qastaging/~smoser/simplestreams/trunk.fix-bionic-tools
Merge into: lp://qastaging/simplestreams
Diff against target: 25 lines (+12/-3)
1 file modified
tools/ubuntu_versions.py (+12/-3)
To merge this branch: bzr merge lp://qastaging/~smoser/simplestreams/trunk.fix-bionic-tools
Reviewer Review Type Date Requested Status
Dan Watkins (community) Approve
Server Team CI bot continuous-integration Approve
simplestreams-dev Pending
Review via email: mp+337892@code.qastaging.launchpad.net

Commit message

Fix ubuntu_versions.py with distro_info > 0.14.

The 'hack_all' nature of 'hack_all' variable name showed itself.
We had been accessing '_rows'. That is now '_releases' and
the content there is no longer a dictionary but rather a
DistroRelease object.

The reason we have to do this at all is to get at the datetime
object for 'eol'. Without that, all we can do is provide a date
and check if a release is supported as of that date. What we want
is to publish the EOL date (in YYYY-MM-DD format).

This change was present in distro_info at 0.15. Artful had 0.17,
bionic has 0.18. Apparently we just didn't notice until now.

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
458. By Scott Moser

merge from trunk

Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Dan Watkins (oddbloke) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: