From 132bd63e145cff39f3e0447f90a1bdcaef41e7f9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 6 Sep 2011 10:46:44 +0200 Subject: [PATCH] cannot be done in that function --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index ed26703..d12688a 100755 --- a/build.py +++ b/build.py @@ -214,7 +214,6 @@ def exit_ok(): sys.exit(0) def exit_error(): - atexit.unregister(remove_git_target_workspace) send_email(SMTP_BUILD_ERROR) sys.exit(1) @@ -413,6 +412,7 @@ if __name__ == '__main__': fh.close() except: pass + atexit.unregister(remove_git_target_workspace) exit_error() else: create_dput_cfg() -- 2.39.5