aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/tools
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-01-08 11:52:51 +0100
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-01-08 11:52:51 +0100
commiteece27397cb3befe9d4c7cdad65d3a38b61d7a36 (patch)
treee5c763460150d68d63defe14bb31712ee035898d /dev/tools
parent17067aac03eabb8369d587dc91b622642b2673f8 (diff)
github-check-prs.py: Strip spaces from token from command line
Diffstat (limited to 'dev/tools')
-rwxr-xr-xdev/tools/github-check-prs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/tools/github-check-prs.py b/dev/tools/github-check-prs.py
index 74325d3ee..7c9043e63 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()