diff --git a/python/distro_info.py b/python/distro_info.py index 16c4986..6073a8f 100644 --- a/python/distro_info.py +++ b/python/distro_info.py @@ -264,6 +264,6 @@ class UbuntuDistroInfo(DistroInfo): if date is None: date = self._date distros = [self._format(result, x) for x in self._avail(date) - if date <= x.eol or - (x.eol_server is not None and date <= x.eol_server)] + if date >= x.release and + (date <= x.eol or (x.eol_server is not None and date <= x.eol_server))] return distros