stdin is no longer a kwarg

Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
Alfredo Deza 2015-02-26 11:34:21 -05:00
parent f7c1ca4a1e
commit 49a61dc2d2

View File

@ -713,7 +713,7 @@ class ObjectStoreTool:
options=options))
if stdin:
cmd = ("echo {payload} | base64 --decode | {cmd}".
format(payload=base64.encode(kwargs['stdin']),
format(payload=base64.encode(stdin),
cmd=cmd))
lines.append(cmd)
return "\n".join(lines)