1 |
From: Bertrand Simonnet <bsimonnet@××××××××.org> |
2 |
|
3 |
The repo name is considered missing if there is no explicit "repo_name" |
4 |
file. But if it's set in layout.conf via repo-name, we can skip that. |
5 |
Otherwise we end up with copy & paste spew. |
6 |
--- |
7 |
pym/portage/repository/config.py | 1 + |
8 |
1 file changed, 1 insertion(+) |
9 |
|
10 |
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py |
11 |
index e44b619..7401b3a 100644 |
12 |
--- a/pym/portage/repository/config.py |
13 |
+++ b/pym/portage/repository/config.py |
14 |
@@ -252,6 +252,7 @@ class RepoConfig(object): |
15 |
# useful when having two copies of the same repo enabled |
16 |
# to avoid modifying profiles/repo_name in one of them |
17 |
self.name = layout_data['repo-name'] |
18 |
+ self.missing_repo_name = False |
19 |
|
20 |
for value in ('allow-missing-manifest', |
21 |
'allow-provide-virtual', 'cache-formats', |
22 |
-- |
23 |
2.4.0 |