summaryrefslogtreecommitdiffstats
path: root/pym/portage/cache/metadata.py
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-01-25 17:07:32 +0000
committerMarius Mauch <genone@gentoo.org>2007-01-25 17:07:32 +0000
commit064104225b74e6db799c65a30dba1bd4b6b68132 (patch)
treeb54c084734e73a55cd4f0a70d185c599101d434a /pym/portage/cache/metadata.py
parent68af63d44dbfdbb4a81876c32eb25ddd0ca23b3f (diff)
downloadportage-064104225b74e6db799c65a30dba1bd4b6b68132.tar.gz
portage-064104225b74e6db799c65a30dba1bd4b6b68132.tar.bz2
portage-064104225b74e6db799c65a30dba1bd4b6b68132.zip
Namespace sanitizing, step 3
svn path=/main/trunk/; revision=5782
Diffstat (limited to 'pym/portage/cache/metadata.py')
-rw-r--r--pym/portage/cache/metadata.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pym/portage/cache/metadata.py b/pym/portage/cache/metadata.py
index df039d5e2..427fc1936 100644
--- a/pym/portage/cache/metadata.py
+++ b/pym/portage/cache/metadata.py
@@ -4,10 +4,10 @@
# $Id$
import os, stat, types
-from cache import flat_hash
-import eclass_cache
-from cache.template import reconstruct_eclasses
-from cache.mappings import ProtectedDict
+from portage.cache import flat_hash
+import portage.eclass_portage.cache
+from portage.cache.template import reconstruct_eclasses
+from portage.cache.mappings import ProtectedDict
# this is the old cache format, flat_list. count maintained here.
magic_line_count = 22
@@ -26,7 +26,7 @@ class database(flat_hash.database):
loc = location
super(database, self).__init__(location, *args, **config)
self.location = os.path.join(loc, "metadata","cache")
- self.ec = eclass_cache.cache(loc)
+ self.ec = portage.eclass_cache.cache(loc)
def __getitem__(self, cpv):
return flat_hash.database.__getitem__(self, cpv)