Merge lp:~slimey/endroid/exec-whitespace into lp:endroid

Proposed by Simon C
Status: Merged
Approved by: Simon C
Approved revision: 65
Merged at revision: 65
Proposed branch: lp:~slimey/endroid/exec-whitespace
Merge into: lp:endroid
Diff against target: 9 lines (+1/-1)
1 file modified
src/endroid/plugins/exec.py (+1/-1)
To merge this branch: bzr merge lp:~slimey/endroid/exec-whitespace
Reviewer Review Type Date Requested Status
ChrisD Approve
Review via email: mp+185319@code.launchpad.net

Commit message

Remove trailing whitespace from exec plugin output

Description of the change

Remove trailing whitespace from exec plugin output

To post a comment you must log in.
Revision history for this message
ChrisD (gingerchris) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/endroid/plugins/exec.py'
2--- src/endroid/plugins/exec.py 2013-08-30 17:48:34 +0000
3+++ src/endroid/plugins/exec.py 2013-09-12 16:46:26 +0000
4@@ -60,5 +60,5 @@
5 "left hand side, trying to execute {}: {}".
6 format(invocation, failure_summary))
7 d = getProcessOutput('/bin/sh', ('-c', invocation))
8- d.addCallbacks(msg.reply, failure)
9+ d.addCallbacks(lambda result: msg.reply(result.rstrip()), failure)
10

Subscribers

People subscribed via source and target branches