Unnecessary variable duplication

This commit is contained in:
Thomas Nagy 2016-02-06 13:03:43 +01:00
parent b8a1675123
commit 6d6222bc18
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 2 additions and 2 deletions

View File

@ -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: