Skip to content

Commit 49922bf

Browse files
author
Vladimir Kotal
committed
strip only trailing newline
1 parent 9d35a78 commit 49922bf

File tree

1 file changed

+1
-1
lines changed
  • opengrok-tools/src/main/python/opengrok_tools/all/utils

1 file changed

+1
-1
lines changed

opengrok-tools/src/main/python/opengrok_tools/all/utils/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def run(self):
175175
self.out.append(line)
176176

177177
if self.doprint:
178-
print(line.strip())
178+
print(line.rstrip())
179179

180180
def getoutput(self):
181181
return self.out

0 commit comments

Comments
 (0)