Public bug reported:
A new version of distro-info has just broken all applications that rely
on the python module. One of this applications is MAAS.
Example:
# In Xenial, you would do something like:
from distro_info import UbuntuDistroInfo
info = UbuntuDistroInfo()
for row in info._avail(info._date):
print(row['series'])
# In Artful, this no longer works. It would have to be done like:
from distro_info import UbuntuDistroInfo
info = UbuntuDistroInfo()
for row in info._avail(info._date):
print(row.series)
** Affects: distro-info (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711197
Title:
distro-info returns an object instead of a dictionary which breaks
applications relying on it
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1711197/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs