gitlab_gql: strip newline at the end of the token file
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26075>
This commit is contained in:

committed by
Marge Bot

parent
ea6502d7cc
commit
a5cb331c64
@@ -330,7 +330,7 @@ def parse_args() -> Namespace:
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
args.gitlab_token = Path(args.gitlab_token_file).read_text()
|
||||
args.gitlab_token = Path(args.gitlab_token_file).read_text().strip()
|
||||
return args
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user