Commit 9fe7ccca authored by Pavel Emelyanov's avatar Pavel Emelyanov

py: Fix resp.errno access

There's no such field in resp, only cr_errno

travis-ci: success for py: Fix resp.errno access
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Acked-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 36e43e20
...@@ -277,6 +277,6 @@ class criu: ...@@ -277,6 +277,6 @@ class criu:
resp = self._send_req_and_recv_resp(req) resp = self._send_req_and_recv_resp(req)
if not resp.success: if not resp.success:
raise CRIUExceptionExternal(req.type, resp.type, resp.errno) raise CRIUExceptionExternal(req.type, resp.type, resp.cr_errno)
return resp.restore return resp.restore
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment