Author: Philip Jenvey <[email protected]>
Branch: py3.3
Changeset: r70623:14f65b3bbd6a
Date: 2014-04-13 14:36 -0700
http://bitbucket.org/pypy/pypy/changeset/14f65b3bbd6a/
Log: prefer oefmt
diff --git a/pypy/module/select/interp_select.py
b/pypy/module/select/interp_select.py
--- a/pypy/module/select/interp_select.py
+++ b/pypy/module/select/interp_select.py
@@ -175,8 +175,7 @@
else:
timeout = space.float_w(w_timeout)
if timeout < 0.0:
- raise OperationError(space.w_ValueError,
- space.wrap("timeout must be non-negative"))
+ raise oefmt(space.w_ValueError, "timeout must be non-negative")
ll_inl = lltype.nullptr(_c.fd_set.TO)
ll_outl = lltype.nullptr(_c.fd_set.TO)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit