From: Marius Mauch Date: Sat, 30 Jun 2007 10:04:42 +0000 (-0000) Subject: print a notice when a repository/overlay does not have a name X-Git-Tag: v2.2_pre1~1114 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=656820f4b84e8dfebe3d5da133201c39a521c8fb;p=portage.git print a notice when a repository/overlay does not have a name svn path=/main/trunk/; revision=7096 --- 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")