public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] proj/portage:master commit in: lib/portage/repository/
@ 2021-02-27  1:28 99% Zac Medico
  0 siblings, 0 replies; 1+ results
From: Zac Medico @ 2021-02-27  1:28 UTC (permalink / raw
  To: gentoo-commits

commit:     396b1ea5a7a0f868abe6b0b08352243f8fd48f35
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 01:26:06 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 01:27:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=396b1ea5

RepoConfig.config_string: don't override repos with aliases (bug 749333)

Bug: https://bugs.gentoo.org/749333
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 lib/portage/repository/config.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/portage/repository/config.py b/lib/portage/repository/config.py
index f7c956dd8..83e9746d1 100644
--- a/lib/portage/repository/config.py
+++ b/lib/portage/repository/config.py
@@ -1076,6 +1076,8 @@ class RepoConfigLoader:
 		keys = bool_keys + str_or_int_keys + str_tuple_keys + repo_config_tuple_keys
 		config_string = ""
 		for repo_name, repo in sorted(self.prepos.items(), key=lambda x: (x[0] != "DEFAULT", x[0])):
+			if repo_name != repo.name:
+				continue
 			config_string += "\n[%s]\n" % repo_name
 			for key in sorted(keys):
 				if key == "main_repo" and repo_name != "DEFAULT":


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-02-27  1:28 99% [gentoo-commits] proj/portage:master commit in: lib/portage/repository/ Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox