Module: Mesa
Branch: main
Commit: a5cb331c6429c9fed32c72e12a67099ce6ad256f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5cb331c6429c9fed32c72e12a67099ce6ad256f

Author: Eric Engestrom <e...@igalia.com>
Date:   Mon Nov  6 16:38:34 2023 +0000

gitlab_gql: strip newline at the end of the token file

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26075>

---

 bin/ci/gitlab_gql.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/ci/gitlab_gql.py b/bin/ci/gitlab_gql.py
index a5fd27efa8d..82002c7b2a5 100755
--- a/bin/ci/gitlab_gql.py
+++ b/bin/ci/gitlab_gql.py
@@ -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
 
 

Reply via email to