projects
/
theonering
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
acc26c7
)
All the cool kids are doing it, changing how we register with signals
author
Ed Page
<eopage@byu.net>
Fri, 12 Feb 2010 01:46:22 +0000
(19:46 -0600)
committer
Ed Page
<eopage@byu.net>
Fri, 12 Feb 2010 01:46:22 +0000
(19:46 -0600)
src/theonering.py
patch
|
blob
|
history
diff --git
a/src/theonering.py
b/src/theonering.py
index
1bc7436
..
1e06a1d
100755
(executable)
--- a/
src/theonering.py
+++ b/
src/theonering.py
@@
-63,7
+63,7
@@
def run_theonering(persist):
gobject_utils.timeout_add_seconds(IDLE_TIMEOUT, timeout_cb)
shutdown_callback = quit
gobject_utils.timeout_add_seconds(IDLE_TIMEOUT, timeout_cb)
shutdown_callback = quit
- signal.signal(signal.SIGTERM, quit)
+ signal.signal(signal.SIGTERM, lambda: quit)
try:
manager = connection_manager.TheOneRingConnectionManager(shutdown_func=shutdown_callback)
try:
manager = connection_manager.TheOneRingConnectionManager(shutdown_func=shutdown_callback)