From d1798cef59d521f90d1cdf2a6db4cfcc909d9304 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Wed, 20 Jul 2016 11:31:11 -0700 Subject: Remove md5 hashes from OPNFV Artifact API These are not used and irrelevant Change-Id: I742b5c33087749804fb16d1df21b15e7dfe44c4d Signed-off-by: Trevor Bramwell --- utils/opnfv-artifacts.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'utils') diff --git a/utils/opnfv-artifacts.py b/utils/opnfv-artifacts.py index f826d5ce6..876efedba 100644 --- a/utils/opnfv-artifacts.py +++ b/utils/opnfv-artifacts.py @@ -130,14 +130,6 @@ def has_logs(gerrit_review): return False -def has_md5hash(item): - """ - If a file has an md5hash available, grab it - """ - if 'md5Hash' in item: - return item['md5Hash'] - return False - def has_ignorable_extension(filename): for extension in ignore_extensions: @@ -158,7 +150,6 @@ def get_results(key): 'items(' 'name,' 'mediaLink,' - 'md5Hash,' 'updated,' 'contentType,' 'size' @@ -189,7 +180,6 @@ def get_results(key): else: href = site['mediaLink'] href_type = 'download' - md5 = has_md5hash(site) gerrit = has_gerrit_review(site_split) logs = False # has_logs(gerrit) @@ -215,7 +205,6 @@ def get_results(key): 'href': href, 'href_type': href_type, 'proxy_href': proxy, - 'md5hash': md5, } if project in releases: -- cgit 1.2.3-korg