Show More
@@ -236,7 +236,7 b' def unpacker(fmt):' | |||
|
236 | 236 | return struct.Struct(fmt).unpack |
|
237 | 237 | except AttributeError: |
|
238 | 238 | # 2.4 |
|
239 | return lambda buf: struct.unpack(fmt) | |
|
239 | return lambda buf: struct.unpack(fmt, buf) | |
|
240 | 240 | |
|
241 | 241 | def popen2(cmd, env=None, newlines=False): |
|
242 | 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