changeset 6411:34c51857ba4f

fix error spotted by pychecker
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 30 Mar 2008 20:21:46 +0200
parents b8346ae5d64b
children 9d2983c6a965 6e4f7170734c
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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') %