fix error spotted by pychecker
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 30 Mar 2008 20:21:46 +0200
changeset 6407 12377957948d
parent 6404 f08662abdf3f
child 6408 3f5f23ba18bc
fix error spotted by pychecker
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') %