summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-16 01:51:59 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-16 01:51:59 +0000
commite5609f2c7c53a261c65d79371eab43537420385d (patch)
tree712e664c6334d8ac4169e6fab835c63b8a951335
parentmake.conf is not a manual so only list common FEATURES #161985 (diff)
downloadportage-multirepo-e5609f2c7c53a261c65d79371eab43537420385d.tar.gz
portage-multirepo-e5609f2c7c53a261c65d79371eab43537420385d.tar.bz2
portage-multirepo-e5609f2c7c53a261c65d79371eab43537420385d.zip
dirty dirty lies
svn path=/main/trunk/; revision=5665
-rw-r--r--pym/portage.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 501f5568..75bd6382 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5547,12 +5547,11 @@ class portdbapi(dbapi):
self.treemap = {}
for path in self.porttrees:
repo_name_path = os.path.join( path, REPO_NAME_LOC )
- if os.path.exists( repo_name_path ):
- try:
- repo_name = open( repo_name_path ,'r').readline().strip()
- self.treemap[repo_name] = path
- except (OSError,IOError):
- pass
+ try:
+ repo_name = open( repo_name_path ,'r').readline().strip()
+ self.treemap[repo_name] = path
+ except (OSError,IOError):
+ pass
self.auxdbmodule = self.mysettings.load_best_module("portdbapi.auxdbmodule")
self.auxdb = {}