summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-03 21:14:42 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-03 21:14:42 -0700
commitb7e7cb33096ea730f65c7eee600c823db8bd68f9 (patch)
tree05873d16a9485c503715dbeedf9ac4398d296339
parent67859bc9158947ec6fbc18a12f6a9ce0bba47fbd (diff)
downloadportage-b7e7cb33096ea730f65c7eee600c823db8bd68f9.tar.gz
portage-b7e7cb33096ea730f65c7eee600c823db8bd68f9.tar.bz2
portage-b7e7cb33096ea730f65c7eee600c823db8bd68f9.zip
Fix infinite loop in _preload_portage_submodules().
-rw-r--r--pym/portage/proxy/lazyimport.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/proxy/lazyimport.py b/pym/portage/proxy/lazyimport.py
index fac845fba..b5a2385d3 100644
--- a/pym/portage/proxy/lazyimport.py
+++ b/pym/portage/proxy/lazyimport.py
@@ -33,6 +33,7 @@ def _preload_portage_submodules():
for name in list(_module_proxies):
if name.startswith('portage.'):
remaining = True
+ __import__(name)
_unregister_module_proxy(name)
if not remaining:
break