# HG changeset patch # User Benoit Boissinot # Date 1206901306 -7200 # Node ID 12377957948d13105a6b579093acdb1d43405d8c # Parent f08662abdf3f3a4806e39bf64d208ea134857dc4 fix error spotted by pychecker diff -r f08662abdf3f -r 12377957948d mercurial/localrepo.py --- 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') %