diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-08 14:31:28 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-08 14:31:28 +0200 |
commit | cabbf50f8dc3e3567ec7a5c7fcb21db7c7e53851 (patch) | |
tree | 1007cbf2452319f96dd45846017ee3eb068fa3cc | |
parent | 38cad0703e3c0887f7f13f879efc3ba12797f238 (diff) | |
download | jenkins.debian.net-cabbf50f8dc3e3567ec7a5c7fcb21db7c7e53851.tar.xz |
reproducible: rename update_sources_tables() to update_sources_db()
-rwxr-xr-x | bin/reproducible_scheduler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 3e95ebcc..405ca516 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -52,11 +52,11 @@ def update_sources(suite): sources = lzma.decompress(urlopen(remotefile).read()).decode('utf8') log.debug('\tdownloaded') for arch in ARCHS: - log.info('Updating sources for %s...', arch) - update_sources_tables(suite, arch, sources) + log.info('Updating sources for %s/%s...', suite, arch) + update_sources_db(suite, arch, sources) -def update_sources_tables(suite, arch, sources): +def update_sources_db(suite, arch, sources): # extract relevant info (package name and version) from the sources file new_pkgs = [] for src in deb822.Sources.iter_paragraphs(sources.split('\n')): |