[Zope-Checkins] CVS: Zope/lib/python/App - ProductContext.py:1.35
Tres Seaver
tseaver@zope.com
Mon, 13 Aug 2001 14:14:56 -0400
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv18361
Modified Files:
ProductContext.py
Log Message:
- Skip attempting to register APIHelp for files beginning with '_'
(e.g., '__init__.py').
=== Zope/lib/python/App/ProductContext.py 1.34 => 1.35 ===
self.registerHelpTopic(file, ht)
elif ext in ('.py',):
+ if file[0] == '_': # ignore __init__.py
+ continue
ht=APIHelpTopic.APIHelpTopic(file, '', os.path.join(path, file))
self.registerHelpTopic(file, ht)