From b3190865897a9e91784082fcba19b3c28f0bffba Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Wed, 7 May 2014 16:42:05 -0400 Subject: [PATCH] get_github_creds() returns a two-tuple --- scripts/release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release.py b/scripts/release.py index a8ce72fcea..ea00ecceeb 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -261,9 +261,9 @@ def get_pr_info(num): Returns the info from the Github API """ url = "https://api.github.com/repos/edx/edx-platform/pulls/{num}".format(num=num) - credentials = get_github_creds() + username, token = get_github_creds() headers = { - "Authorization": "token {}".format(credentials[1]), + "Authorization": "token {}".format(token), "User-Agent": "edx-release", } response = requests.get(url, headers=headers)