[Zope-Checkins] CVS: Zope/lib/python/App - ProductContext.py:1.33.4.2
Tres Seaver
tseaver@zope.com
Mon, 13 Aug 2001 14:13:06 -0400
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv18003
Modified Files:
Tag: Zope-2_4-branch
ProductContext.py
Log Message:
- Skip attempting to register APIHelp for files beginning with '_'
(e.g., '__init__.py').
=== Zope/lib/python/App/ProductContext.py 1.33.4.1 => 1.33.4.2 ===
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)