Skip to content

Commit

Permalink
Add trim task output
Browse files Browse the repository at this point in the history
Reduce multiple newlines at end of output
  • Loading branch information
mblaschke committed Feb 12, 2017
1 parent c5ae518 commit 1b6a868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/webdevops/taskloader/BaseTaskLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def task_runner(func, args, task):
backup = sys.stdout
sys.stdout = StringIO.StringIO()
result = func(task=task, *args)
out = sys.stdout.getvalue()
out = sys.stdout.getvalue().strip()
sys.stdout.close()
sys.stdout = backup

Expand Down

0 comments on commit 1b6a868

Please sign in to comment.