[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py Merged 2.11 branch r89897 into the trunk.
Stefan H. Holek
stefan at epy.co.at
Fri Aug 15 17:56:54 EDT 2008
Log message for revision 89898:
Merged 2.11 branch r89897 into the trunk.
Don't tie installPackage to a layer.
Changed:
U Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py
-=-
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py 2008-08-15 21:52:31 UTC (rev 89897)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py 2008-08-15 21:56:53 UTC (rev 89898)
@@ -189,9 +189,8 @@
'''Checks if a package has been registered with five:registerPackage.'''
return name in [m.__name__ for m in getattr(Products, '_registered_packages', [])]
- at layer.onsetup
def installPackage(name, quiet=0):
- '''Installs a registered Python package at layer setup time.'''
+ '''Installs a registered Python package.'''
quiet = 1 # Ignore argument
_installPackage(name, quiet)
More information about the Zope-Checkins
mailing list