mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
ubuntutools.distro_info: Fix TypeError crash (LP: #731398).
This commit is contained in:
parent
b67cf6e986
commit
82187df277
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -17,8 +17,9 @@ ubuntu-dev-tools (0.120) UNRELEASED; urgency=low
|
||||
|
||||
[ Benjamin Drung ]
|
||||
* data/ubuntu.csv: Add Oneiric Ocelot to the list of know releases.
|
||||
* ubuntutools.distro_info: Fix TypeError crash (LP: #731398).
|
||||
|
||||
-- Benjamin Drung <bdrung@debian.org> Mon, 07 Mar 2011 11:18:01 +0100
|
||||
-- Benjamin Drung <bdrung@debian.org> Tue, 08 Mar 2011 16:54:59 +0100
|
||||
|
||||
ubuntu-dev-tools (0.119) unstable; urgency=low
|
||||
|
||||
|
@ -108,6 +108,8 @@ class DistroInfo(object):
|
||||
|
||||
def unsupported(self, date=None):
|
||||
"""Get list of all unsupported distributions based on the given date."""
|
||||
if date is None:
|
||||
date = self._date
|
||||
supported = self.supported(date)
|
||||
distros = [x["series"] for x in self._avail(date)
|
||||
if x["series"] not in supported]
|
||||
|
Loading…
x
Reference in New Issue
Block a user