From 8fe5bfac88f3e47734ae3a39539a24ff345dad3d Mon Sep 17 00:00:00 2001 From: Clyde Bazile Date: Wed, 7 Apr 2021 16:22:30 -0400 Subject: [PATCH] allow underscore and capitals in Github token --- etc/make_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/make_release.py b/etc/make_release.py index ce6de98a83..8fda8a45c7 100755 --- a/etc/make_release.py +++ b/etc/make_release.py @@ -524,7 +524,7 @@ def read_github_creds(github_token_file): Read the GitHub token from the specified file and return it as a string. """ - token_re = re.compile('^(?:Token - )?(?P[0-9a-f]{40}).*$') + token_re = re.compile('^(?:Token - )?(?P\w{40}).*$') github_token = None with open(github_token_file, 'rb') as token_stream: