[Zope-Checkins] SVN: Zope/trunk/lib/python/Zope2/__init__.py Unfsck the Zope2 package. Something went wrong here recently.

Stefan H. Holek stefan at epy.co.at
Mon May 2 11:34:06 EDT 2005


Log message for revision 30229:
  Unfsck the Zope2 package. Something went wrong here recently.
  The configure method *must* be present in the Zope2 namespace.
  

Changed:
  U   Zope/trunk/lib/python/Zope2/__init__.py

-=-
Modified: Zope/trunk/lib/python/Zope2/__init__.py
===================================================================
--- Zope/trunk/lib/python/Zope2/__init__.py	2005-05-02 12:09:51 UTC (rev 30228)
+++ Zope/trunk/lib/python/Zope2/__init__.py	2005-05-02 15:34:06 UTC (rev 30229)
@@ -57,8 +57,8 @@
     import ZPublisher
     return ZPublisher.test('Zope', *args, **kw)
 
+from Zope2.Startup.run import configure
 
-
 def _configure():
     # Load configuration file from (optional) environment variable
     # Also see http://zope.org/Collectors/Zope/1233
@@ -80,3 +80,4 @@
 if os.environ.get('ZOPE_COMPATIBLE_STARTUP'):
     # Open the database immediately (see comment above).
     startup()
+



More information about the Zope-Checkins mailing list