[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/appsetup/appsetup.py Keeping track of the original context turns out to be extremly useful, if

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Feb 26 09:12:53 EST 2005


Log message for revision 29307:
  Keeping track of the original context turns out to be extremly useful, if 
  you want to inspect ZCML files for other reasons.
  
  

Changed:
  U   Zope3/trunk/src/zope/app/appsetup/appsetup.py

-=-
Modified: Zope3/trunk/src/zope/app/appsetup/appsetup.py
===================================================================
--- Zope3/trunk/src/zope/app/appsetup/appsetup.py	2005-02-26 02:46:36 UTC (rev 29306)
+++ Zope3/trunk/src/zope/app/appsetup/appsetup.py	2005-02-26 14:12:52 UTC (rev 29307)
@@ -57,6 +57,8 @@
 
     _configured = execute
 
+    global __config_context
+    __config_context = context
 
     return context
 
@@ -86,6 +88,9 @@
 
     return db
 
+__config_context = None
+def getConfigContext():
+    return __config_context
 
 __config_source = None
 def getConfigSource():



More information about the Zope3-Checkins mailing list