Implements full path for hash checks of binaries
[releng-anteater.git] / anteater / src / get_lists.py
index ff63442..4eb1d3f 100644 (file)
@@ -86,9 +86,8 @@ class GetLists(object):
 
     def binary_hash(self, project, patch_file):
         self.load_project_exception_file(ml.get('project_exceptions'), project)
-        file_name = os.path.basename(patch_file)
         try:
-            binary_hash = (ml['binaries'][project][file_name])
+            binary_hash = (ml['binaries'][project][patch_file])
             return binary_hash
         except KeyError:
             binary_hash = 'null'