mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
fix error spotted by pychecker
This commit is contained in:
parent
60b35838c0
commit
ce5f0b5ec6
@ -2075,7 +2075,7 @@ class localrepository(repo.repository):
|
||||
l = fp.readline()
|
||||
try:
|
||||
total_files, total_bytes = map(int, l.split(' ', 1))
|
||||
except ValueError, TypeError:
|
||||
except (ValueError, TypeError):
|
||||
raise util.UnexpectedOutput(
|
||||
_('Unexpected response from remote server:'), l)
|
||||
self.ui.status(_('%d files to transfer, %s of data\n') %
|
||||
|
Loading…
Reference in New Issue
Block a user