X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=anteater%2Fsrc%2Fget_lists.py;fp=anteater%2Fsrc%2Fget_lists.py;h=4eb1d3f20bb351f5e129f070043d0db6fd23d764;hb=21eba438574c13ecd49119ab9a7df882e517f566;hp=ff6344273f4f833f8734f25d2b7f176548435967;hpb=8365245c9dc2f8e2ff2adf8aa84162e420747132;p=releng-anteater.git diff --git a/anteater/src/get_lists.py b/anteater/src/get_lists.py index ff63442..4eb1d3f 100644 --- a/anteater/src/get_lists.py +++ b/anteater/src/get_lists.py @@ -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'