summaryrefslogtreecommitdiffstats
path: root/subcmds/cherry_pick.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/cherry_pick.py')
-rw-r--r--subcmds/cherry_pick.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py
index 7bd858bf..eecf4e17 100644
--- a/subcmds/cherry_pick.py
+++ b/subcmds/cherry_pick.py
@@ -60,8 +60,10 @@ change id will be added.
60 capture_stderr=True) 60 capture_stderr=True)
61 status = p.Wait() 61 status = p.Wait()
62 62
63 print(p.stdout, file=sys.stdout) 63 if p.stdout:
64 print(p.stderr, file=sys.stderr) 64 print(p.stdout.strip(), file=sys.stdout)
65 if p.stderr:
66 print(p.stderr.strip(), file=sys.stderr)
65 67
66 if status == 0: 68 if status == 0:
67 # The cherry-pick was applied correctly. We just need to edit the 69 # The cherry-pick was applied correctly. We just need to edit the