[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 2/2] daklib/gpg.py: use os._exit() instead of sys.exit() in child process



Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
---
 daklib/gpg.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/daklib/gpg.py b/daklib/gpg.py
index 90103af..0e080df 100644
--- a/daklib/gpg.py
+++ b/daklib/gpg.py
@@ -23,7 +23,6 @@ import errno
 import fcntl
 import os
 import select
-import sys
 
 try:
     _MAXFD = os.sysconf("SC_OPEN_MAX")
@@ -185,6 +184,6 @@ class SignedFile(object):
 
             os.execvp(self.gpg, args)
         finally:
-            sys.exit(1)
+            os._exit(1)
 
 # vim: set sw=4 et:
-- 
1.7.2.5


Reply to: