[CMF-checkins] CVS: Products/CMFCore - __init__.py:1.10

Tres Seaver tseaver@zope.com
Mon, 13 Aug 2001 21:43:29 -0400


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv32451/CMFCore

Modified Files:
	__init__.py 
Log Message:


 - Work around HelpSys bug when registering a real Python package
   (Products.CMFCore.interfaces) as a help directory.


=== Products/CMFCore/__init__.py 1.9 => 1.10 ===
                        'images/typeinfo.gif', globals())
 
-    context.registerHelpTitle( 'CMF Core Help' )
-    context.registerHelp(directory='interfaces')
+    try:
+        context.registerHelpTitle( 'CMF Core Help' )
+        context.registerHelp(directory='interfaces')
+    except: # AARGH!!
+        pass
 
     utils.ToolInit( 'CMF Core Tool'
                   , tools=tools