diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-11 06:10:55 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-11 06:10:55 +0000 |
commit | f74f7597a36799a040f64300ea6d9d3363137700 (patch) | |
tree | 7a0998d156362756656fa05ecb4ee1f046dffe9b | |
parent | 30f7f9ec144b17e36b47f6aa15971276a8738a0b (diff) | |
download | portage-f74f7597a36799a040f64300ea6d9d3363137700.tar.gz portage-f74f7597a36799a040f64300ea6d9d3363137700.tar.bz2 portage-f74f7597a36799a040f64300ea6d9d3363137700.zip |
Use lazyimport to avoid importing the portage.elog module when portage is
initially imported. (trunk r12682)
svn path=/main/branches/2.1.6/; revision=12942
-rw-r--r-- | pym/portage/dbapi/vartree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 8ad88f179..5f12715d3 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 |