From: Mathias Klette Date: Wed, 23 May 2012 13:34:29 +0000 (+0000) Subject: do not raise exception when local branch cannot be deleted X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=27b9ac33db73b26a8e375b2d8402e4fbfca5f332;p=profitbricks%2Fjenkins-build-scripts.git do not raise exception when local branch cannot be deleted --- diff --git a/debian_build.py b/debian_build.py index bddef52..7b94737 100755 --- a/debian_build.py +++ b/debian_build.py @@ -268,7 +268,7 @@ if __name__ == '__main__': ) logger.debug( 'git branch -D %s\n%s' - %(localname,gitcmd.branch('-D','%s' %(localname))) + %(localname,gitcmd.branch('-D','%s' %(localname),with_exceptions=False)) ) try: