From e1ca3f62d40d557321cb8cfd28242b9203b91a2a Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 26 Feb 2015 18:27:01 +0100 Subject: reproducible: scheduler: use the gzip sources file instead of the xz one --- bin/reproducible_scheduler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_scheduler.py') diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index c4071b76..ccc58974 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -10,7 +10,7 @@ # Schedule packages to be build. import sys -import lzma +import gzip import deb822 import aptsources.sourceslist from time import sleep @@ -54,9 +54,9 @@ def check_suite_avail(suite): def update_sources_tables(suite): # download the sources file for this suite mirror = 'http://ftp.de.debian.org/debian' - remotefile = mirror + '/dists/' + suite + '/main/source/Sources.xz' + remotefile = mirror + '/dists/' + suite + '/main/source/Sources.gz' log.info('Downloading sources file for ' + suite + ': ' + remotefile) - sources = lzma.decompress(urlopen(remotefile).read()).decode() + sources = gzip.decompress(urlopen(remotefile).read()).decode() log.debug('\tdownloaded') # extract relevant info (package name and version) from the sources file new_pkgs = [] -- cgit v1.2.3-54-g00ecf