Mercurial > hg
changeset 23864:6c44cef5baa2
unpacker: fix missing arg for py2.4
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 14 Jan 2015 16:57:00 -0800 |
parents | 669106fc5bb1 |
children | 81349f4b47f4 |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Wed Jan 14 01:15:26 2015 +0100 +++ b/mercurial/util.py Wed Jan 14 16:57:00 2015 -0800 @@ -236,7 +236,7 @@ return struct.Struct(fmt).unpack except AttributeError: # 2.4 - return lambda buf: struct.unpack(fmt) + return lambda buf: struct.unpack(fmt, buf) def popen2(cmd, env=None, newlines=False): # Setting bufsize to -1 lets the system decide the buffer size.