diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-09 19:28:45 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-09 19:28:45 +0000 |
commit | 0faee684dacb942137c2635a7cc6254030d9ce48 (patch) | |
tree | 9d0df2719e5dc3fe3aef47dbd597fe4c32347fd4 | |
parent | 4d63475660d4ec96ebdee299c132fb0422d8fd0e (diff) | |
download | portage-0faee684dacb942137c2635a7cc6254030d9ce48.tar.gz portage-0faee684dacb942137c2635a7cc6254030d9ce48.tar.bz2 portage-0faee684dacb942137c2635a7cc6254030d9ce48.zip |
Remove the repo_name warning in the portdbapi constructor since we don't want to see a warning every time the portage module is imported.
svn path=/main/trunk/; revision=7212
-rw-r--r-- | pym/portage/dbapi/porttree.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 379174573..34eff92a7 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -91,8 +91,9 @@ class portdbapi(dbapi): repo_name = open(repo_name_path, 'r').readline().strip() self.treemap[repo_name] = path except (OSError,IOError): - writemsg_stdout("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") + # warn about missing repo_name at some other time, since we + # don't want to see a warning every time the portage module is + # imported. pass self.auxdbmodule = self.mysettings.load_best_module("portdbapi.auxdbmodule") |