Log message for revision 80392: Fix for https://bugs.launchpad.net/bugs/146646.
Changed: U Zope/branches/2.10/lib/python/Testing/ZopeTestCase/ZopeLite.py -=- Modified: Zope/branches/2.10/lib/python/Testing/ZopeTestCase/ZopeLite.py =================================================================== --- Zope/branches/2.10/lib/python/Testing/ZopeTestCase/ZopeLite.py 2007-09-29 14:11:51 UTC (rev 80391) +++ Zope/branches/2.10/lib/python/Testing/ZopeTestCase/ZopeLite.py 2007-09-29 14:13:34 UTC (rev 80392) @@ -174,7 +174,7 @@ '''Installs a registered Python package like a Zope product.''' start = time.time() if _patched and not _installedPackages.has_key(name): - for module, init_func in Products._packages_to_initialize: + for module, init_func in getattr(Products, '_packages_to_initialize', []): if module.__name__ == name: if not quiet: _print('Installing %s ... ' % module.__name__) # We want to fail immediately if a package throws an exception _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins