From da3c220f7bed5e3a3655b2ac577d2b9f0b6d2547 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 18 Sep 2011 16:22:34 +0200 Subject: [PATCH] dont remove workspace, for debugging --- kernel_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel_build.py b/kernel_build.py index 2a581c7..db2c651 100644 --- a/kernel_build.py +++ b/kernel_build.py @@ -172,7 +172,8 @@ def remove_git_target_workspace(): rmpath = '/tmp/%s-build%s' %(BUILD_ID, BUILD_NUMBER) if os.path.isdir(rmpath): try: - shutil.rmtree(rmpath) + pass + #shutil.rmtree(rmpath) except IOError, error: logger.debug('Got exception with error code: %s', error.errno) if error.errno == 2: -- 2.39.5