Skip to content

Commit b7551bd

Browse files
committed
PBCKP-91: delete "\r" in windows command output.
1 parent 279c981 commit b7551bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: tests/helpers/ptrack_helpers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,8 @@ def run_pb(self, command, asynchronous=False, gdb=False, old_binary=False, retur
982982
else:
983983
return self.output
984984
except subprocess.CalledProcessError as e:
985-
raise ProbackupException(e.output.decode('utf-8'), self.cmd)
985+
raise ProbackupException(e.output.decode('utf-8').replace("\r",""),
986+
self.cmd)
986987

987988
def run_binary(self, command, asynchronous=False, env=None):
988989

0 commit comments

Comments
 (0)