You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2015/06/16 21:59:39 UTC

mesos git commit: Improved output readability in post-reviews.py.

Repository: mesos
Updated Branches:
  refs/heads/master c0536dbd9 -> 4b6b03f1d


Improved output readability in post-reviews.py.

Section titles are now adjacent to the section they lead.

Review: https://reviews.apache.org/r/35508


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4b6b03f1
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4b6b03f1
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/4b6b03f1

Branch: refs/heads/master
Commit: 4b6b03f1d612e36d47a51ffe528b651991735083
Parents: c0536db
Author: Alexander Rojas <al...@mesosphere.io>
Authored: Tue Jun 16 12:58:05 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Tue Jun 16 12:58:05 2015 -0700

----------------------------------------------------------------------
 support/post-reviews.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/4b6b03f1/support/post-reviews.py
----------------------------------------------------------------------
diff --git a/support/post-reviews.py b/support/post-reviews.py
index ba016f5..10861a9 100755
--- a/support/post-reviews.py
+++ b/support/post-reviews.py
@@ -140,7 +140,7 @@ for line in log.split('\n'):
     shas.append(sha)
 
 
-previous = tracking_branch 
+previous = tracking_branch
 parent_review_request_id = None
 for i in range(len(shas)):
     sha = shas[i]
@@ -162,14 +162,14 @@ for i in range(len(shas)):
 
     # Show the commit.
     if review_request_id is None:
-        print '\nCreating diff of:\n'
+        print '\n\nCreating diff of:'
         call(['git',
               '--no-pager',
               'log',
               '--pretty=format:%Cred%H%Creset -%C(yellow)%d%Creset %s',
               previous + '..' + sha])
     else:
-        print '\nUpdating diff of:\n'
+        print '\n\nUpdating diff of:'
         call(['git',
               '--no-pager',
               'log',
@@ -177,7 +177,7 @@ for i in range(len(shas)):
               previous + '..' + sha])
 
     # Show the "parent" commit(s).
-    print '\n... with parent diff created from:\n'
+    print '\n\n... with parent diff created from:'
     call(['git',
           '--no-pager',
           'log',