[pypy-svn] r56102 - pypy/dist/pypy/module/select

fijal at codespeak.net fijal at codespeak.net
Thu Jun 26 23:19:39 CEST 2008


Author: fijal
Date: Thu Jun 26 23:19:39 2008
New Revision: 56102

Modified:
   pypy/dist/pypy/module/select/interp_select.py
Log:
Fix translation


Modified: pypy/dist/pypy/module/select/interp_select.py
==============================================================================
--- pypy/dist/pypy/module/select/interp_select.py	(original)
+++ pypy/dist/pypy/module/select/interp_select.py	Thu Jun 26 23:19:39 2008
@@ -133,8 +133,8 @@
     except rpoll.SelectError, s:
         w_module = space.getbuiltinmodule('select')
         w_errortype = space.getattr(w_module, space.wrap('error'))
-        raise OperationError(w_errortype, space.newtuple(
-            space.wrap(s.errno), space.wrap(s.get_msg())))
+        raise OperationError(w_errortype, space.newtuple([
+            space.wrap(s.errno), space.wrap(s.get_msg())]))
     
     return space.newtuple([
         space.newlist([iwtd_d[i] for i in iwtd]),



More information about the Pypy-commit mailing list