diff options
author | Marius Mauch <genone@gentoo.org> | 2007-06-30 10:04:42 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-06-30 10:04:42 +0000 |
commit | 656820f4b84e8dfebe3d5da133201c39a521c8fb (patch) | |
tree | e9ff63073384673edaa42956ee20bd57ca8c11e6 | |
parent | b13ef4d400786b3a88f1d8e9c3124c2e57585779 (diff) | |
download | portage-656820f4b84e8dfebe3d5da133201c39a521c8fb.tar.gz portage-656820f4b84e8dfebe3d5da133201c39a521c8fb.tar.bz2 portage-656820f4b84e8dfebe3d5da133201c39a521c8fb.zip |
print a notice when a repository/overlay does not have a name
svn path=/main/trunk/; revision=7096
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
1 files changed, 2 insertions, 0 deletions
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") |