mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
Add missing catch of a TypeError
This commit is contained in:
parent
aad25b6bfd
commit
f1a8298e61
@ -2107,7 +2107,7 @@ class localrepository(repo.repository):
|
||||
try:
|
||||
name, size = l.split('\0', 1)
|
||||
size = int(size)
|
||||
except ValueError, TypeError:
|
||||
except (ValueError, TypeError):
|
||||
raise util.UnexpectedOutput(
|
||||
_('Unexpected response from remote server:'), l)
|
||||
self.ui.debug('adding %s (%s)\n' % (name, util.bytecount(size)))
|
||||
|
Loading…
Reference in New Issue
Block a user