mercurial/localrepo.py
changeset 6411 34c51857ba4f
parent 6385 0d4e068e9e52
child 6526 cfeeac24fc1e
child 6535 93e140dbcd44
--- 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') %