From 65f7f34136979f05f59ce74a6ae30f8503269664 Mon Sep 17 00:00:00 2001 From: Robin Wittler Date: Thu, 4 Aug 2011 14:19:40 +0200 Subject: [PATCH] add more logging stuff --- testgit_build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testgit_build.py b/testgit_build.py index 03f4668..99384b8 100755 --- a/testgit_build.py +++ b/testgit_build.py @@ -133,12 +133,12 @@ def remove_git_target_workspace(): ) logger.debug(_str) raise Exception(_str) - return cmdobj except Exception, error: logger.exception(error) raise else: logger.info('deleted %s' %(GIT_TARGET_WORKSPACE)) + return cmdobj def exit_ok(): send_email(SMTP_BUILD_SUCCESS) @@ -191,7 +191,7 @@ if __name__ == '__main__': ) else: raise Exception('No git_committer_email found') - + gbp = git_buildpackage.GitBuildPackage( upstream_branch=GIT_UPSTREAM_BRANCH, debian_branch=GIT_DEBIAN_BRANCH, @@ -205,6 +205,7 @@ if __name__ == '__main__': 'This is the return value of git-buildpackage: %s' %(ret) ) + exit_ok() #class GitBuildPackage(object): # def __init__(self, upstream_branch=None, -- 2.39.5