From: Mark Wooding Date: Sun, 21 Sep 2008 14:59:33 +0000 (+0100) Subject: sig: Store the user function in the correct attribute! X-Git-Tag: 1.0.1~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/commitdiff_plain/bd3ac9d3941e37e9f1fde86942379bad44810139 sig: Store the user function in the correct attribute! --- diff --git a/sig.pyx b/sig.pyx index 6496016..e10913c 100644 --- 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: