# HG changeset patch # User Benoit Boissinot # Date 1206901306 -7200 # Node ID 34c51857ba4fc90efe679b7f2cd562715040add6 # Parent b8346ae5d64be473ed323eeb24d53277ac75e1fd fix error spotted by pychecker diff -r b8346ae5d64b -r 34c51857ba4f mercurial/localrepo.py --- a/mercurial/localrepo.py Sun Mar 30 20:18:40 2008 +0200 +++ 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') %