[Zope-Checkins] CVS: Zope2 - Product.py:1.48.6.1
andreas@digicool.com
andreas@digicool.com
Wed, 9 May 2001 08:58:04 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/App
In directory korak:/tmp/cvs-serv6800/lib/python/App
Modified Files:
Tag: ajung-dropin-registry
Product.py
Log Message:
workaround for unknown startup problem with new PluginIndexes product.
Needs to be fixed !
--- Updated File Product.py in package Zope2 --
--- Product.py 2001/04/27 18:07:08 1.48
+++ Product.py 2001/05/09 12:58:04 1.48.6.1
@@ -215,7 +215,15 @@
def __init__(self, id, title):
self.id=id
self.title=title
- self._setObject('Help', ProductHelp('Help', id))
+
+ # Workaround for unknown problem with help system and PluginIndexes product
+ # NEEDS to be fixed for 2.4 ! (ajung)
+
+ try:
+ self._setObject('Help', ProductHelp('Help', id))
+ except:
+ print 'Warning: self._setObject() failed for %s/%s' % (id,title)
+ pass
def Destination(self):
"Return the destination for factory output"