mirror of https://gitlab.com/ita1024/waf.git
Unnecessary variable duplication
This commit is contained in:
parent
b8a1675123
commit
6d6222bc18
|
@ -352,7 +352,7 @@ class Context(ctx):
|
|||
if 'input' in kw:
|
||||
if kw['input']:
|
||||
wargs['input'] = kw['input']
|
||||
kw['stdin'] = Utils.subprocess.PIPE
|
||||
kw['stdin'] = subprocess.PIPE
|
||||
del kw['input']
|
||||
|
||||
if 'cwd' in kw:
|
||||
|
@ -436,7 +436,7 @@ class Context(ctx):
|
|||
if 'input' in kw:
|
||||
if kw['input']:
|
||||
wargs['input'] = kw['input']
|
||||
kw['stdin'] = Utils.subprocess.PIPE
|
||||
kw['stdin'] = subprocess.PIPE
|
||||
del kw['input']
|
||||
|
||||
if 'cwd' in kw:
|
||||
|
|
Loading…
Reference in New Issue