##// END OF EJS Templates
unpacker: fix missing arg for py2.4
Matt Mackall -
r23864:6c44cef5 default
parent child Browse files
Show More
@@ -236,7 +236,7 b' def unpacker(fmt):'
236 return struct.Struct(fmt).unpack
236 return struct.Struct(fmt).unpack
237 except AttributeError:
237 except AttributeError:
238 # 2.4
238 # 2.4
239 return lambda buf: struct.unpack(fmt)
239 return lambda buf: struct.unpack(fmt, buf)
240
240
241 def popen2(cmd, env=None, newlines=False):
241 def popen2(cmd, env=None, newlines=False):
242 # Setting bufsize to -1 lets the system decide the buffer size.
242 # Setting bufsize to -1 lets the system decide the buffer size.
General Comments 0
You need to be logged in to leave comments. Login now