summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-03 00:49:15 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-03 00:49:15 +0000
commitb24966c9fc12f959355a82329cec6c340c158b70 (patch)
tree0a74e56cef4bb5926769f4ebfa8798200f75b4d1
parent9d618bf6e536fec63b990f6352a80cac640a6dc2 (diff)
downloadportage-b24966c9fc12f959355a82329cec6c340c158b70.tar.gz
portage-b24966c9fc12f959355a82329cec6c340c158b70.tar.bz2
portage-b24966c9fc12f959355a82329cec6c340c158b70.zip
s/portage.eclass_cache/eclass_cache/ since eclass_cache is actually a local variable here.
svn path=/main/trunk/; revision=7547
-rw-r--r--pym/portage/cache/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/cache/util.py b/pym/portage/cache/util.py
index 870e98873..eb08f11e3 100644
--- a/pym/portage/cache/util.py
+++ b/pym/portage/cache/util.py
@@ -67,11 +67,11 @@ def mirror_cache(valid_nodes_iterable, src_cache, trg_cache, eclass_cache=None,
if not "_eclasses_" in entry:
noise.corruption(x,"missing _eclasses_ field")
continue
- if not portage.eclass_cache.is_eclass_data_valid(entry["_eclasses_"]):
+ if not eclass_cache.is_eclass_data_valid(entry["_eclasses_"]):
noise.eclass_stale(x)
continue
else:
- entry["_eclasses_"] = portage.eclass_cache.get_eclass_data(entry["INHERITED"].split(), \
+ entry["_eclasses_"] = eclass_cache.get_eclass_data(entry["INHERITED"].split(), \
from_master_only=True)
if not entry["_eclasses_"]:
noise.eclass_stale(x)