Fix infinite loop in _preload_portage_submodules().
authorZac Medico <zmedico@gentoo.org>
Wed, 4 Aug 2010 04:14:42 +0000 (21:14 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 Aug 2010 04:14:42 +0000 (21:14 -0700)
pym/portage/proxy/lazyimport.py

index fac845fba68a64c24f2919afb17259fdc08410c6..b5a2385d3ead173e2b17f42a9d15a1f00e0b1c03 100644 (file)
@@ -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