diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-10-05 23:30:12 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-10-05 23:30:12 +0000 |
commit | 8a45151dfefad0d6930661b6e16b99f84f67fa45 (patch) | |
tree | 18ccc9f6dccfad593974615a8af4a793fcf50328 /py/python/Ice.py | |
parent | fixes (diff) | |
download | ice-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.py | 3 |
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) |