mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
fileserverclient: correctly use exception constructor
We were passing one argument instead of 3.
This commit is contained in:
parent
51f7cac5a7
commit
06c09f03ab
@ -45,7 +45,7 @@ def peersetup(ui, peer):
|
||||
yield {'file': file, 'node': node}, f
|
||||
code, data = f.value.split('\0', 1)
|
||||
if int(code):
|
||||
raise error.LookupError(data)
|
||||
raise error.LookupError(file, node, data)
|
||||
yield data
|
||||
peer.__class__ = remotefilepeer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user