chiark / gitweb /
sig: Store the user function in the correct attribute!
authorMark Wooding <mdw@distorted.org.uk>
Sun, 21 Sep 2008 14:59:33 +0000 (15:59 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 21 Sep 2008 15:19:11 +0000 (16:19 +0100)
sig.pyx

diff --git a/sig.pyx b/sig.pyx
index 6496016..e10913c 100644 (file)
--- a/sig.pyx
+++ b/sig.pyx
@@ -36,7 +36,7 @@ cdef class SelSignal:
     if sig < 0 or sig >= signal.NSIG:
       raise ValueError, 'signal number out of range'
     me.signal = sig
-    me._signalledproc = _checkcallable(signalledproc, 'signalled proc')
+    me._signalled = _checkcallable(signalledproc, 'signalled proc')
     me._activep = 0
   def __dealloc__(me):
     if me._activep: