[Zope-Checkins] CVS: Zope3/lib/python/Zope/Configuration - name.py:1.1.2.8
Jim Fulton
jim@zope.com
Tue, 12 Feb 2002 16:31:28 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Configuration
In directory cvs.zope.org:/tmp/cvs-serv29682
Modified Files:
Tag: Zope-3x-branch
name.py
Log Message:
fixed bug in handling dotted package names (for include)
=== Zope3/lib/python/Zope/Configuration/name.py 1.1.2.7 => 1.1.2.8 ===
a=getattr(m, last)
except AttributeError:
- pass
+ if not repeat:
+ return __import__(name, _globals, _globals, _silly)
+
else:
if not repeat or (type(a) is not ModuleType):
return a