Skip to content

Commit

Permalink
Fix the cherrypick_pr script (elastic#3633)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsg authored and ruflin committed Feb 21, 2017
1 parent 7e30fdd commit 99d01b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-tools/cherrypick_pr
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def main():
original_pr = s.get(base+"/pulls/"+args.pr_number).json()

# get the github username from the remote where we pushed
remote_url = check_output("git remote get-url {}".format(remote))
remote_url = check_output("git remote get-url {}".format(remote),
shell=True)
remote_user = re.search("github.com:(.+)/beats", remote_url).group(1)

# create PR
Expand Down

0 comments on commit 99d01b7

Please sign in to comment.