1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-09-16 09:26:30 +02:00

PBCKP-91: delete "\r" in windows command output.

This commit is contained in:
Yura Sokolov
2023-04-18 18:25:36 +03:00
parent 279c98140f
commit b7551bd2bf

View File

@@ -982,7 +982,8 @@ class ProbackupTest(object):
else:
return self.output
except subprocess.CalledProcessError as e:
raise ProbackupException(e.output.decode('utf-8'), self.cmd)
raise ProbackupException(e.output.decode('utf-8').replace("\r",""),
self.cmd)
def run_binary(self, command, asynchronous=False, env=None):