projects
/
profile
/
ivi
/
python-twisted.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import to Tizen
[profile/ivi/python-twisted.git]
/
twisted
/
test
/
process_signal.py
1
import sys, signal
2
3
signal.signal(signal.SIGINT, signal.SIG_DFL)
4
if getattr(signal, "SIGHUP", None) is not None:
5
signal.signal(signal.SIGHUP, signal.SIG_DFL)
6
print 'ok, signal us'
7
sys.stdin.read()
8
sys.exit(1)