From: Ansgar Burchardt Date: Wed, 25 May 2011 18:19:28 +0000 (+0000) Subject: daklib/gpg.py: use os._exit() instead of sys.exit() in child process X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=190f6332b5ffb52975f352090aa9beb64c951f0b;p=dak.git daklib/gpg.py: use os._exit() instead of sys.exit() in child process Signed-off-by: Ansgar Burchardt --- diff --git a/daklib/gpg.py b/daklib/gpg.py index 90103afa..0e080df5 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: