commit:     9142e9c4b7555dd33251c11be2373050b4d86cb3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 10 12:01:12 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 11 02:27:51 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=9142e9c4

Scheduler: Fix _acquire_job_token() type annotation

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Part-of: https://github.com/gentoo/portage/pull/1543
Closes: https://github.com/gentoo/portage/pull/1543

 lib/_emerge/Scheduler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/_emerge/Scheduler.py b/lib/_emerge/Scheduler.py
index a6233229af..2b229587c3 100644
--- a/lib/_emerge/Scheduler.py
+++ b/lib/_emerge/Scheduler.py
@@ -2130,7 +2130,7 @@ class Scheduler(PollScheduler):
 
         return False
 
-    def _acquire_job_token(self) -> str:
+    def _acquire_job_token(self) -> bytes:
         """
         Acquire a job token. Returns the token if available, or an empty value
         if no jobserver is used (or the jobserver died). Raises BlockingIOError

Reply via email to