mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
http: fix variable name in unexpected response message
This commit is contained in:
parent
40027596a8
commit
6e8d242aa0
@ -193,7 +193,7 @@ class httprepository(wireproto.wirerepository):
|
||||
r = self._call(cmd, data=fp, headers=headers, **args)
|
||||
vals = r.split('\n', 1)
|
||||
if len(vals) < 2:
|
||||
raise error.ResponseError(_("unexpected response:"), d)
|
||||
raise error.ResponseError(_("unexpected response:"), r)
|
||||
return vals
|
||||
except socket.error, err:
|
||||
if err.args[0] in (errno.ECONNRESET, errno.EPIPE):
|
||||
|
Loading…
Reference in New Issue
Block a user