Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gpMgmt/bin/gppylib/util/ssh_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ def executeCommand(self, command):

for s in self.pxssh_list:
# Split the output into an array of lines so that we can add text to the beginning of
# each line
output = s.before.split(b'\n')
# each line. Decoding string as we are getting bytecode string in s.before
# Removing \r characters in each line by strip
output = [x.strip() for x in s.before.decode().split('\n')]
output = output[1:-1]

commandoutput.append(output)
Expand Down