Author: Alex Gaynor <alex.gay...@gmail.com> Branch: Changeset: r53296:d400470336d6 Date: 2012-03-11 12:08 -0700 http://bitbucket.org/pypy/pypy/changeset/d400470336d6/
Log: translation fix diff --git a/pypy/module/__pypy__/interp_time.py b/pypy/module/__pypy__/interp_time.py --- a/pypy/module/__pypy__/interp_time.py +++ b/pypy/module/__pypy__/interp_time.py @@ -51,7 +51,7 @@ with lltype.scoped_alloc(TIMESPEC) as tp: ret = c_clock_gettime(clk_id, tp) if ret != 0: - raise exception_from_errno(space.w_IOError) + raise exception_from_errno(space, space.w_IOError) return space.wrap(tp.c_tv_sec + tp.c_tv_nsec * 1e-9) @unwrap_spec(clk_id="c_int") @@ -59,5 +59,5 @@ with lltype.scoped_alloc(TIMESPEC) as tp: ret = c_clock_getres(clk_id, tp) if ret != 0: - raise exception_from_errno(space.w_IOError) + raise exception_from_errno(space, space.w_IOError) return space.wrap(tp.c_tv_sec + tp.c_tv_nsec * 1e-9) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit