ceph_key: fix rstrip for python 3

Removing bytes literals since rstrip only supports type String or None.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit f5c2ca3710)
pull/3619/head
Sébastien Han 2018-11-19 09:56:45 +01:00 committed by mergify[bot]
parent a43c68df7d
commit 2c1a690774
1 changed files with 2 additions and 2 deletions

View File

@ -678,8 +678,8 @@ def run_module():
end=str(endd), end=str(endd),
delta=str(delta), delta=str(delta),
rc=rc, rc=rc,
stdout=out.rstrip(b"\r\n"), stdout=out.rstrip("\r\n"),
stderr=err.rstrip(b"\r\n"), stderr=err.rstrip("\r\n"),
changed=True, changed=True,
) )