[pypy-commit] pypy default: whoops

mattip noreply at buildbot.pypy.org
Wed Mar 7 21:26:21 CET 2012


Author: mattip
Branch: 
Changeset: r53263:986d17b4a13c
Date: 2012-03-07 22:25 +0200
http://bitbucket.org/pypy/pypy/changeset/986d17b4a13c/

Log:	whoops

diff --git a/pypy/module/select/interp_kqueue.py b/pypy/module/select/interp_kqueue.py
--- a/pypy/module/select/interp_kqueue.py
+++ b/pypy/module/select/interp_kqueue.py
@@ -144,9 +144,9 @@
         else:
             changelist_len = space.len_w(w_changelist)
 
-            with lltype.scoped_alloc(rffi.CArray(kevent), changelist_len) as changelist:
-                with lltype.scoped_alloc(rffi.CArray(kevent), max_events) as eventlist:
-                 with lltype.scoped_alloc(timespec) as timeout:
+        with lltype.scoped_alloc(rffi.CArray(kevent), changelist_len) as changelist:
+            with lltype.scoped_alloc(rffi.CArray(kevent), max_events) as eventlist:
+                with lltype.scoped_alloc(timespec) as timeout:
 
                     if not space.is_w(w_timeout, space.w_None):
                         _timeout = space.float_w(w_timeout)
@@ -205,7 +205,6 @@
                     return space.newlist(elist_w)
 
 
-
 W_Kqueue.typedef = TypeDef("select.kqueue",
     __new__ = interp2app(W_Kqueue.descr__new__.im_func),
     fromfd = interp2app(W_Kqueue.descr_fromfd.im_func, as_classmethod=True),


More information about the pypy-commit mailing list