chiark / gitweb /
str: Support mLib's `str' functions.
[mLib-python] / ident.pyx
index e7c05d29dd92ad2f074afbe1137380c19eb50750..d19c3a4599c8a8ae3423294089b736a8628aea65 100644 (file)
--- a/ident.pyx
+++ b/ident.pyx
@@ -157,7 +157,7 @@ cdef class SelIdentify:
   def bogus(me):
     return _maybecall(me._bogus, ())
 
-cdef void _identfunc2(ident_reply *i, void *arg):
+cdef void _identfunc(ident_reply *i, void *arg):
   cdef SelIdentify id
   id = <SelIdentify>arg
   id._dead()
@@ -167,9 +167,5 @@ cdef void _identfunc2(ident_reply *i, void *arg):
     id.error(i.u.error)
   elif i.type == IDENT_USERID:
     id.user(i.u.userid.os, i.u.userid.user)
-cdef void _identfunc(ident_reply *i, void *arg):
-  PyEval_AcquireLock()
-  _identfunc2(i, arg)
-  PyEval_ReleaseLock()
 
 #----- That's all, folks ----------------------------------------------------