From bd3ac9d3941e37e9f1fde86942379bad44810139 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sun, 21 Sep 2008 15:59:33 +0100 Subject: [PATCH] sig: Store the user function in the correct attribute! Organization: Straylight/Edgeware From: Mark Wooding --- sig.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- [mdw]