summaryrefslogtreecommitdiff
path: root/py/python/Ice.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-10-05 23:30:12 +0000
committerMark Spruiell <mes@zeroc.com>2004-10-05 23:30:12 +0000
commit8a45151dfefad0d6930661b6e16b99f84f67fa45 (patch)
tree18ccc9f6dccfad593974615a8af4a793fcf50328 /py/python/Ice.py
parentfixes (diff)
downloadice-8a45151dfefad0d6930661b6e16b99f84f67fa45.tar.bz2
ice-8a45151dfefad0d6930661b6e16b99f84f67fa45.tar.xz
ice-8a45151dfefad0d6930661b6e16b99f84f67fa45.zip
Win32 port
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r--py/python/Ice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py
index 506e2d0110a..88837d8c0bc 100644
--- a/py/python/Ice.py
+++ b/py/python/Ice.py
@@ -399,7 +399,8 @@ class Application(object):
# Install our handler for the signals we are interested in. We assume main()
# is called from the main thread.
#
- signal.signal(signal.SIGHUP, Application.signalHandler)
+ if signal.__dict__.has_key('SIGHUP'):
+ signal.signal(signal.SIGHUP, Application.signalHandler)
signal.signal(signal.SIGINT, Application.signalHandler)
signal.signal(signal.SIGTERM, Application.signalHandler)