changeset 13459:acbe171c8fbe stable

changegroup: fix typo introduced in 9f2c407caf34
author Jim Hague <jim.hague@acm.org>
date Tue, 22 Feb 2011 16:31:01 +0100
parents 9f2c407caf34
children 64bb8e586a92
files mercurial/changegroup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changegroup.py	Tue Feb 22 03:10:37 2011 +0100
+++ b/mercurial/changegroup.py	Tue Feb 22 16:31:01 2011 +0100
@@ -151,7 +151,7 @@
         return self._stream.close()
 
     def chunklength(self):
-        d = readexactly(stream, 4)
+        d = readexactly(self._stream, 4)
         l = struct.unpack(">l", d)[0]
         if l <= 4:
             if l: