From 27b9ac33db73b26a8e375b2d8402e4fbfca5f332 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Wed, 23 May 2012 13:34:29 +0000 Subject: [PATCH] do not raise exception when local branch cannot be deleted --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5