Commit dee29de9 authored by Philip Jenvey's avatar Philip Jenvey

use eq_w

parent c68f9e02
......@@ -24,8 +24,7 @@ def trap_eintr(space, error):
w_value = error.get_w_value(space)
w_errno = space.getattr(w_value, space.wrap("errno"))
return space.is_true(
space.eq(w_errno, space.wrap(EINTR)))
return space.eq_w(w_errno, space.wrap(EINTR))
except OperationError:
return False
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment