From 500f8f02ab0b35df11ac55f885832be8646cd72a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 24 Jun 2013 12:24:39 -0700 Subject: [PATCH] RepoConfigLoader: fix bug #474578 --- pym/portage/repository/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 5ec830429..076dceab4 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -570,7 +570,8 @@ class RepoConfigLoader(object): for repo_name, repo in list(prepos.items()): if repo.location is None: if repo_name != 'DEFAULT': - if paths: + # Skip this warning for repoman (bug #474578). + if settings.local_config and paths: writemsg_level(_("Location undefined for " \ "repository '%s' referenced in '%s'\n") % \ (repo.name, paths[0]), -- 2.26.2