]> err.no Git - dak/commitdiff
daklib/gpg.py: use os._exit() instead of sys.exit() in child process
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 25 May 2011 18:19:28 +0000 (18:19 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 25 May 2011 18:19:59 +0000 (18:19 +0000)
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
daklib/gpg.py

index 90103afa0ddc20ae98457e34314d0407714f2f8b..0e080df5a6558164bb259a9b529cc2087dcfa611 100644 (file)
@@ -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: