Author: ArcRiley
Date: 2008-03-06 15:43:03 -0500 (Thu, 06 Mar 2008)
New Revision: 1074

Modified:
   trunk/pysoy/src/_internals/Children.pxi
Log:
Ticket #901 :
  * fix for _index


Modified: trunk/pysoy/src/_internals/Children.pxi
===================================================================
--- trunk/pysoy/src/_internals/Children.pxi     2008-03-06 20:31:45 UTC (rev 
1073)
+++ trunk/pysoy/src/_internals/Children.pxi     2008-03-06 20:43:03 UTC (rev 
1074)
@@ -82,12 +82,10 @@
 
   cdef int _index(self, void* _child) :
     cdef int _i
-    self._lock()
     for _i from 0 <= _i < self._current :
       if self._list[_i] == _child :
         return _i
     return -1
-    self._unlock()
 
   cdef void _swap(self, int _first, int _second) :
     cdef void* _sibling

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to