Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search: fix 'mlen' counter for ambiguous package names #1106

Closed
wants to merge 1 commit into from

Conversation

floppym
Copy link
Contributor

@floppym floppym commented Oct 1, 2023

self.mlen was being incremented in both addCP() and output().

Drop the increment in addCP(), and convert mlen to a function-local variable in output().

Bug: https://bugs.gentoo.org/915054

lib/_emerge/search.py Outdated Show resolved Hide resolved
self.mlen was being incremented in both addCP() and output().

Drop the increment in addCP(), and convert mlen to a function-local
variable in output().

Bug: https://bugs.gentoo.org/915054
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
@gentoo-bot gentoo-bot closed this in 2b0a904 Oct 2, 2023
@floppym floppym deleted the bug915054-mlen branch October 11, 2023 18:35
palao pushed a commit to palao/portage that referenced this pull request Oct 16, 2023
self.mlen was being incremented in both addCP() and output().

Drop the increment in addCP(), and convert mlen to a function-local
variable in output().

Bug: https://bugs.gentoo.org/915054
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Closes: gentoo#1106
Signed-off-by: Sam James <sam@gentoo.org>
palao pushed a commit to palao/portage that referenced this pull request Oct 22, 2023
self.mlen was being incremented in both addCP() and output().

Drop the increment in addCP(), and convert mlen to a function-local
variable in output().

Bug: https://bugs.gentoo.org/915054
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Closes: gentoo#1106
Signed-off-by: Sam James <sam@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants