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