diff options
| author | Gaëtan Gilbert | 2018-01-08 11:52:51 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-01-08 11:52:51 +0100 |
| commit | eece27397cb3befe9d4c7cdad65d3a38b61d7a36 (patch) | |
| tree | e5c763460150d68d63defe14bb31712ee035898d /dev | |
| parent | 17067aac03eabb8369d587dc91b622642b2673f8 (diff) | |
github-check-prs.py: Strip spaces from token from command line
Diffstat (limited to 'dev')
| -rwxr-xr-x | dev/tools/github-check-prs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/tools/github-check-prs.py b/dev/tools/github-check-prs.py index 74325d3ee5..7c9043e63a 100755 --- a/dev/tools/github-check-prs.py +++ b/dev/tools/github-check-prs.py @@ -14,7 +14,7 @@ parser.add_argument("--token-file", type=argparse.FileType('r')) args = parser.parse_args() if args.token_file is None: - token = input("Github access token: ") + token = input("Github access token: ").strip() else: token = args.token_file.read().rstrip("\n") args.token_file.close() |
