summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/main.py5
-rw-r--r--pym/portage/const.py1
2 files changed, 5 insertions, 1 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 19027ea47..4c8a547b5 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1316,7 +1316,10 @@ def emerge_main():
if "--quiet" not in myopts:
portage.deprecated_profile_check(settings=settings)
- repo_name_check(trees)
+ if portage.const._ENABLE_REPO_NAME_WARN:
+ # Bug #248603 - Disable warnings about missing
+ # repo_name entries for stable branch.
+ repo_name_check(trees)
repo_name_duplicate_check(trees)
config_protect_check(trees)
check_procfs()
diff --git a/pym/portage/const.py b/pym/portage/const.py
index cf24fcc31..5ef7eece1 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -119,6 +119,7 @@ MANIFEST2_IDENTIFIERS = ("AUX", "MISC", "DIST", "EBUILD")
# between branches.
_ENABLE_DYN_LINK_MAP = True
_ENABLE_PRESERVE_LIBS = True
+_ENABLE_REPO_NAME_WARN = True
_ENABLE_SET_CONFIG = True