ubuntu-server-iso-testing-dev team mailing list archive
-
ubuntu-server-iso-testing-dev team
-
Mailing list archive
-
Message #00234
[Merge] lp:~heber013/ubuntu-server-iso-testing/fixing-default-distro-error into lp:ubuntu-server-iso-testing
Heber Parrucci has proposed merging lp:~heber013/ubuntu-server-iso-testing/fixing-default-distro-error into lp:ubuntu-server-iso-testing.
Commit message:
Adding exception when calculating default distro
Requested reviews:
Joshua Powers (powersj)
For more details, see:
https://code.launchpad.net/~heber013/ubuntu-server-iso-testing/fixing-default-distro-error/+merge/358192
Currently the jobs that downloads the isos are failing at:
Traceback (most recent call last):
File "/usr/bin/download-latest-test-iso", line 35, in <module>
DEFAULT_RELEASE = distro_info.UbuntuDistroInfo().devel()
File "/usr/lib/python2.7/dist-packages/distro_info.py", line 96, in devel
raise DistroDataOutdated()
distro_info.DistroDataOutdated: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
I added an exception so when it raises, the default variable is assigned and the script continues.
--
Your team Ubuntu Server Iso Testing Developers is subscribed to branch lp:ubuntu-server-iso-testing.
=== modified file 'download-latest-test-iso.py'
--- download-latest-test-iso.py 2018-02-13 17:21:03 +0000
+++ download-latest-test-iso.py 2018-11-01 19:35:09 +0000
@@ -33,7 +33,7 @@
try:
import distro_info
DEFAULT_RELEASE = distro_info.UbuntuDistroInfo().devel()
-except ImportError:
+except (ImportError, distro_info.DistroDataOutdated):
DEFAULT_RELEASE = 'trusty'
DEFAULT_ARCH = 'all'
Follow ups