[Zope3-checkins] CVS: Zope3/src/zope/configuration - config.py:1.9.4.1

Jim Fulton jim at zope.com
Mon Sep 8 15:22:26 EDT 2003


Update of /cvs-repository/Zope3/src/zope/configuration
In directory cvs.zope.org:/tmp/cvs-serv20092/src/zope/configuration

Modified Files:
      Tag: parentgeddon-branch
	config.py 
Log Message:
Checking in work in progress on parentgeddon-branch so Fred can help
me to get the tests passing.  Specific log entries will be provided
when we merge this into the head.


=== Zope3/src/zope/configuration/config.py 1.9 => 1.9.4.1 ===
--- Zope3/src/zope/configuration/config.py:1.9	Sun Aug 17 02:08:49 2003
+++ Zope3/src/zope/configuration/config.py	Mon Sep  8 14:21:55 2003
@@ -174,6 +174,11 @@
             try:
                 return __import__(mname+'.'+oname, *_import_chickens)
             except ImportError:
+                if sys.exc_info()[2].tb_next is not None:
+                    # There is more than one entry in the chain, so
+                    # reraise the error:
+                    raise
+
                 raise ConfigurationError("Module %s has no global %s"
                                          % (mname, oname))
 




More information about the Zope3-Checkins mailing list