mirror of https://gitlab.com/ita1024/waf.git
Ignore subprocess timeouts on Python < 3.3
This commit is contained in:
parent
9f14c9dda0
commit
a91e7be005
|
@ -333,9 +333,10 @@ class Context(ctx):
|
|||
|
||||
cargs = {}
|
||||
if 'timeout' in kw:
|
||||
cargs['timeout'] = kw['timeout']
|
||||
if not 'start_new_session' in kw:
|
||||
kw['start_new_session'] = True
|
||||
if sys.hexversion >= 0x3030000:
|
||||
cargs['timeout'] = kw['timeout']
|
||||
if not 'start_new_session' in kw:
|
||||
kw['start_new_session'] = True
|
||||
del kw['timeout']
|
||||
if 'input' in kw:
|
||||
if kw['input']:
|
||||
|
@ -418,9 +419,10 @@ class Context(ctx):
|
|||
|
||||
cargs = {}
|
||||
if 'timeout' in kw:
|
||||
cargs['timeout'] = kw['timeout']
|
||||
if not 'start_new_session' in kw:
|
||||
kw['start_new_session'] = True
|
||||
if sys.hexversion >= 0x3030000:
|
||||
cargs['timeout'] = kw['timeout']
|
||||
if not 'start_new_session' in kw:
|
||||
kw['start_new_session'] = True
|
||||
del kw['timeout']
|
||||
if 'input' in kw:
|
||||
if kw['input']:
|
||||
|
|
Loading…
Reference in New Issue