You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2017/07/06 00:24:59 UTC
mesos git commit: Fixed indentation in apply-reviews.py.
Repository: mesos
Updated Branches:
refs/heads/master df27b4922 -> 01fd1355c
Fixed indentation in apply-reviews.py.
This fixes the script on Windows, which does not run a shell
command when fetching a patch from ReviewBoard.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/01fd1355
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/01fd1355
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/01fd1355
Branch: refs/heads/master
Commit: 01fd1355cb3cd9b0f01bd042fa3d63d739468be2
Parents: df27b49
Author: Joseph Wu <jo...@apache.org>
Authored: Wed Jul 5 17:15:51 2017 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Wed Jul 5 17:15:54 2017 -0700
----------------------------------------------------------------------
support/apply-reviews.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/01fd1355/support/apply-reviews.py
----------------------------------------------------------------------
diff --git a/support/apply-reviews.py b/support/apply-reviews.py
index cc1be6e..aa2eb8d 100755
--- a/support/apply-reviews.py
+++ b/support/apply-reviews.py
@@ -206,13 +206,13 @@ def fetch_patch(options):
review_id=patch_id(options),
url=patch_url(options))
- # In case of github we always need to fetch the patch to extract username
- # and email, so we ignore the dry_run option by setting the second parameter
- # to False.
- if options['github']:
- shell(cmd, False)
- else:
- shell(cmd, options['dry_run'])
+ # In case of github we always need to fetch the patch to extract username
+ # and email, so we ignore the dry_run option by setting the second parameter
+ # to False.
+ if options['github']:
+ shell(cmd, False)
+ else:
+ shell(cmd, options['dry_run'])
def patch_id(options):