]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
do not raise exception when local branch cannot be deleted
authorMathias Klette <mathias.klette@profitbricks.com>
Wed, 23 May 2012 13:34:29 +0000 (13:34 +0000)
committerMathias Klette <mathias.klette@profitbricks.com>
Wed, 23 May 2012 13:34:29 +0000 (13:34 +0000)
debian_build.py

index bddef527a6144dfc11947b38d8b0a3c518ac74b8..7b94737fe78af1f9df2eee5c4f6905b67f44a07d 100755 (executable)
@@ -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: