From 656820f4b84e8dfebe3d5da133201c39a521c8fb Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sat, 30 Jun 2007 10:04:42 +0000 Subject: print a notice when a repository/overlay does not have a name svn path=/main/trunk/; revision=7096 --- pym/portage/dbapi/porttree.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 71ff993ba..128e5b166 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -91,6 +91,8 @@ class portdbapi(dbapi): repo_name = open(repo_name_path, 'r').readline().strip() self.treemap[repo_name] = path except (OSError,IOError): + writemsg("Note: The repository at %s does not have a profiles/repo_name entry.\n" % path \ + + " This can reduce the functionality of the repository in some cases.\n") pass self.auxdbmodule = self.mysettings.load_best_module("portdbapi.auxdbmodule") -- cgit v1.2.3-1-g7c22