projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13ef4d
)
print a notice when a repository/overlay does not have a name
author
Marius Mauch
<genone@gentoo.org>
Sat, 30 Jun 2007 10:04:42 +0000
(10:04 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Sat, 30 Jun 2007 10:04:42 +0000
(10:04 -0000)
svn path=/main/trunk/; revision=7096
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 71ff993ba0945998d504c1b648561a72fcb9a520..128e5b166a71911bf4eca438c221df402a664b3b 100644
(file)
--- 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")