Added some printouts to openqa_trigger

This commit is contained in:
Josef Skladanka 2015-02-04 17:15:08 +01:00
parent 4172436b21
commit c29fbde4b2

View File

@ -79,9 +79,13 @@ def run_if_newer():
for f_version, current_version, link, name, arch in read_currents(): for f_version, current_version, link, name, arch in read_currents():
# don't run when there is newer version # don't run when there is newer version
last_version = last_versions.get(arch, None) last_version = last_versions.get(arch, None)
print f_version, current_version, link, name, arch,
if last_version is not None and (last_version == current_version): if last_version is not None and (last_version == current_version):
print " - Skipped"
continue continue
print ""
json_parsed[arch] = current_version json_parsed[arch] = current_version
isoname = download_rawhide_iso(link, name, arch) isoname = download_rawhide_iso(link, name, arch)