aboutsummaryrefslogtreecommitdiffstats
path: root/anteater/src/get_lists.py
diff options
context:
space:
mode:
Diffstat (limited to 'anteater/src/get_lists.py')
-rw-r--r--anteater/src/get_lists.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/anteater/src/get_lists.py b/anteater/src/get_lists.py
index d7b0c47..b7b9aea 100644
--- a/anteater/src/get_lists.py
+++ b/anteater/src/get_lists.py
@@ -83,9 +83,13 @@ class GetLists(object):
file_name = os.path.basename(patch_file)
try:
binary_hash = (yl['binaries'][project][file_name])
+ return binary_hash
except KeyError:
- logger.error('Key Error processing binary hash values')
- return binary_hash
+ logger.info('No checksum entries found for {0}'.
+ format(file_name))
+ binary_hash = 'null'
+ return binary_hash
+
def file_audit_list(self, project):
project_list = False