Mercurial > hg-stable
changeset 6407:12377957948d
fix error spotted by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 30 Mar 2008 20:21:46 +0200 |
parents | f08662abdf3f |
children | 3f5f23ba18bc |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sat Mar 29 21:15:54 2008 +0100 +++ b/mercurial/localrepo.py Sun Mar 30 20:21:46 2008 +0200 @@ -2075,7 +2075,7 @@ 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') %