Skip to content

Commit

Permalink
Handle log indenting in metaflow (#244)
Browse files Browse the repository at this point in the history
Addresses #223
  • Loading branch information
savingoyal authored Jul 1, 2020
1 parent f904824 commit e8160c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaflow/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def _launch(self):

def write(self, msg, buf):
buf.write(msg)
text = msg.strip().decode(self._encoding, errors='replace')
text = msg.rstrip().decode(self._encoding, errors='replace')
self.task.log(text, pid=self._proc.pid)

def read_logline(self, fd):
Expand Down

0 comments on commit e8160c8

Please sign in to comment.