Commit a77f9cbc authored by Colomban Wendling's avatar Colomban Wendling

Fix support of Python 3.2

Apparently, Popen.args is new and undocumented in Python 3.3, so don't
rely on its existence and set it ourselves.
parent 0a250acf
......@@ -22,8 +22,9 @@ else:
class Popen(subprocess.Popen):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, args, *pargs, **kwargs):
self.args = args
super().__init__(args=args, *pargs, **kwargs)
self._out = None
self._err = None
self._exc = None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment