Skip to content

Commit cbed0f8

Browse files
Flowdalicthesamesam
authored andcommitted
bintree: fix TypeError
Fix the syntax around the writemsg() to avoid a TypeError: File "/usr/lib/python3.13/site-packages/portage/dbapi/bintree.py", line 1615, in _populate_remote writemsg( ~~~~~~~~^ _( ^^ ...<4 lines>... noiselevel=-1, ^^^^^^^^^^^^^^ ) ^ TypeError: writemsg() got multiple values for argument 'noiselevel' Reported in https://bugs.gentoo.org/965098#c2 Closes: https://bugs.gentoo.org/965098 Signed-off-by: Florian Schmaus <[email protected]> Part-of: #1490 Closes: #1490 Signed-off-by: Sam James <[email protected]>
1 parent 16655f8 commit cbed0f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/portage/dbapi/bintree.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,8 +1638,8 @@ def _populate_remote(self, getbinpkg_refresh=True, pretend=False, verbose=False)
16381638
_(
16391639
"\n\n!!! [%s] Binhost package index "
16401640
" has no TIMESTAMP field.\n"
1641-
),
1642-
binrepo_name,
1641+
)
1642+
% binrepo_name,
16431643
noiselevel=-1,
16441644
)
16451645
else:

0 commit comments

Comments
 (0)