ceph_volume: fix rstrip for python 3

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

Signed-off-by: Bruceforce <markus.greis@gmx.de>
pull/3729/head
Bruceforce 2019-03-19 17:22:25 +01:00 committed by mergify[bot]
parent 274bf3e038
commit 2590d3cfba
1 changed files with 2 additions and 2 deletions

View File

@ -630,8 +630,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=changed, changed=changed,
) )