summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-02-22 05:29:46 +0000
committerZac Medico <zmedico@gentoo.org>2009-02-22 05:29:46 +0000
commit1ee9c6ff271ff33225d13dd18d1f22c34be205ae (patch)
tree84aa2fe3bb698097fa813b7d155bcf71ea19ac4e
parent27eb5504f6886038d9d427385411715cd0b96d9c (diff)
downloadportage-1ee9c6ff271ff33225d13dd18d1f22c34be205ae.tar.gz
portage-1ee9c6ff271ff33225d13dd18d1f22c34be205ae.tar.bz2
portage-1ee9c6ff271ff33225d13dd18d1f22c34be205ae.zip
Use lazyimport to avoid importing the portage.elog module when portage is
initially imported. svn path=/main/trunk/; revision=12682
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 0b45f28d6..db05fca6b 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -11,6 +11,8 @@ portage.proxy.lazyimport.lazyimport(globals(),
'portage.checksum:perform_md5',
'portage.dep:dep_getkey,isjustname,isvalidatom,match_from_list,' + \
'use_reduce,paren_reduce',
+ 'portage.elog:elog_process',
+ 'portage.elog.filtering:filter_mergephases,filter_unmergephases',
'portage.locks:lockdir,unlockdir',
'portage.output:bold,colorize',
'portage.update:fixdbentries',
@@ -32,8 +34,6 @@ from portage import listdir, dep_expand, digraph, flatten, key_expand, \
doebuild_environment, doebuild, env_update, prepare_build_dirs, \
abssymlink, movefile, _movefile, bsd_chflags, cpv_getkey
-from portage.elog import elog_process
-from portage.elog.filtering import filter_mergephases, filter_unmergephases
from portage.cache.mappings import slot_dict_class
import os, re, shutil, stat, errno, copy, subprocess