From f440664c7e09360bd009d434e0ee83635dde932e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 2 Sep 2010 11:00:56 -0700 Subject: Bug #248603 - Add a _ENABLE_REPO_NAME_WARN constant that's used to disable warnings about "missing repo_name entries" for the stable branch. --- pym/_emerge/main.py | 5 ++++- pym/portage/const.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22