]> git.decadent.org.uk Git - dak.git/commit
Reset signal handler to default action in child processes
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 20 Oct 2013 09:02:04 +0000 (11:02 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 20 Oct 2013 09:11:40 +0000 (11:11 +0200)
commit7b274dc7e257ca19d101b2529fd898a446964d1f
tree98d5ad14abb9fde6f80f73848fc1f101f20781ea
parent3adebcccd5ab5010b7ddf67bccb46fdd59daea3f
Reset signal handler to default action in child processes

Python changes the signal handler to SIG_IGN for a few signals which
causes unexpected behaviour in child processes. The wrapper functions in
the new daklib.daksubprocess module reset them to SIG_DFL in child
processes.

Reference: http://bugs.python.org/issue1652
dak/examine_package.py
dak/process_new.py
daklib/archive.py
daklib/contents.py
daklib/daksubprocess.py [new file with mode: 0644]
daklib/dbconn.py
daklib/filewriter.py
daklib/utils.py