summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2016-07-20 11:31:11 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2016-07-20 11:33:30 -0700
commitd1798cef59d521f90d1cdf2a6db4cfcc909d9304 (patch)
tree929e50420dacf129443387ee460242114020d99b /utils
parente4eeb91630b40678eaaf91264e76497d09b92093 (diff)
Remove md5 hashes from OPNFV Artifact API
These are not used and irrelevant Change-Id: I742b5c33087749804fb16d1df21b15e7dfe44c4d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'utils')
-rw-r--r--utils/opnfv-artifacts.py11
1 files changed, 0 insertions, 11 deletions
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: