You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2015/09/30 02:40:52 UTC

mesos git commit: Fixed a bug related to reviewboard_url option in post-reviews.py.

Repository: mesos
Updated Branches:
  refs/heads/master 4b649e7ec -> 11a2d6084


Fixed a bug related to reviewboard_url option in post-reviews.py.

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


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

Branch: refs/heads/master
Commit: 11a2d6084708367f857bf66e9bfea76e9506778f
Parents: 4b649e7
Author: Jie Yu <yu...@gmail.com>
Authored: Tue Sep 29 17:34:50 2015 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Tue Sep 29 17:35:16 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/11a2d608/support/post-reviews.py
----------------------------------------------------------------------
diff --git a/support/post-reviews.py b/support/post-reviews.py
index 78201ee..170be83 100755
--- a/support/post-reviews.py
+++ b/support/post-reviews.py
@@ -98,7 +98,7 @@ top_level_dir = execute(['git', 'rev-parse', '--show-toplevel']).strip()
 
 # Use the tracking_branch specified by the user if exists.
 parser = argparse.ArgumentParser(add_help=False)
-parser.add_argument('--reviewboard-url')
+parser.add_argument('--server')
 parser.add_argument('--tracking-branch')
 args, _ = parser.parse_known_args()
 
@@ -109,7 +109,7 @@ if os.path.exists(reviewboardrc_filepath):
     reviewboardrc = imp.load_source('reviewboardrc', reviewboardrc_filepath)
 
 reviewboard_url = (
-    args.reviewboard_url if args.reviewboard_url else
+    args.server if args.server else
     reviewboardrc.REVIEWBOARD_URL if 'REVIEWBOARD_URL' in dir(reviewboardrc) else
     'https://reviews.apache.org')