Commit e608cb91 authored by David Glick's avatar David Glick

copy the list of packages to initialize. install_package calls...

copy the list of packages to initialize. install_package calls package_initialized which removes from the list
parent 4c663520
......@@ -11,6 +11,9 @@ http://docs.zope.org/zope2/releases/.
Bugs Fixed
++++++++++
- Avoid iterating over the list of packages to initialize while it is being
mutated, which was skipping some packages.
- Fixed two unit tests that failed on fast Windows machines.
- Fixed OverflowError in Products.ZCatalog.Lazy on 64bit python
......
......@@ -535,7 +535,7 @@ def install_products(app):
folder_permissions, raise_exc=debug_mode)
# Delayed install of packages-as-products
for module, init_func in get_packages_to_initialize():
for module, init_func in tuple(get_packages_to_initialize()):
install_package(app, module, init_func, raise_exc=debug_mode)
Products.meta_types=Products.meta_types+tuple(meta_types)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment