From b311cf34f74935f0c544f21b8572ceaca01a24a6 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Wed, 5 Mar 2014 13:34:44 +0100 Subject: [PATCH] debian_build: Fix tagged_commit to tagged_commit_hexsha. --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index 004c3ac..15830ce 100755 --- a/debian_build.py +++ b/debian_build.py @@ -214,7 +214,7 @@ if __name__ == '__main__': if tagged_commit_hexsha == curr_commit_hexsha: message = 'Tag {name} was already created for commit {sha}.'.format( name=remote_tag[0].name, - sha=tagged_commit[0:7], + sha=tagged_commit_hexsha[0:7], ) logger.debug(message) do_tagging = False @@ -222,7 +222,7 @@ if __name__ == '__main__': else: logger.error('Tag {name} was already created for commit {sha}.'.format( name=remote_tag[0].name, - sha=tagged_commit[0:7], + sha=tagged_commit_hexsha[0:7], )) exit_error() else: -- 2.39.5