[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Those generated deprecation warnings in a project of mine, but the Zope 3

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Apr 2 06:47:14 EDT 2006


Log message for revision 66293:
  Those generated deprecation warnings in a project of mine, but the Zope 3 
  tests do not seem to pick them up. Strange.
  

Changed:
  U   Zope3/trunk/src/zope/app/error/bootstrap.py
  U   Zope3/trunk/src/zope/app/principalannotation/bootstrap.py
  U   Zope3/trunk/src/zope/app/session/bootstrap.py

-=-
Modified: Zope3/trunk/src/zope/app/error/bootstrap.py
===================================================================
--- Zope3/trunk/src/zope/app/error/bootstrap.py	2006-04-02 05:58:06 UTC (rev 66292)
+++ Zope3/trunk/src/zope/app/error/bootstrap.py	2006-04-02 10:47:12 UTC (rev 66293)
@@ -13,7 +13,7 @@
 ##############################################################################
 """Bootstrap code for error reporting utility.
 
-$Id: bootstrap.py 28023 2004-10-12 18:11:29Z anguenot $
+$Id$
 """
 
 import transaction
@@ -32,7 +32,7 @@
     db, connection, root, root_folder = getInformationFromEvent(event)
 
     ensureUtility(root_folder, IErrorReportingUtility, '',
-                  RootErrorReportingUtility, copy_to_zlog=False)
+                  RootErrorReportingUtility, copy_to_zlog=False, asObject=True)
 
     transaction.commit()
     connection.close()

Modified: Zope3/trunk/src/zope/app/principalannotation/bootstrap.py
===================================================================
--- Zope3/trunk/src/zope/app/principalannotation/bootstrap.py	2006-04-02 05:58:06 UTC (rev 66292)
+++ Zope3/trunk/src/zope/app/principalannotation/bootstrap.py	2006-04-02 10:47:12 UTC (rev 66293)
@@ -32,7 +32,8 @@
     db, connection, root, root_folder = getInformationFromEvent(event)
 
     ensureUtility(root_folder, IPrincipalAnnotationUtility,
-                  'PrincipalAnnotation', PrincipalAnnotationUtility)
+                  'PrincipalAnnotation', PrincipalAnnotationUtility,
+                  asObject=True)
 
     transaction.commit()
     connection.close()

Modified: Zope3/trunk/src/zope/app/session/bootstrap.py
===================================================================
--- Zope3/trunk/src/zope/app/session/bootstrap.py	2006-04-02 05:58:06 UTC (rev 66292)
+++ Zope3/trunk/src/zope/app/session/bootstrap.py	2006-04-02 10:47:12 UTC (rev 66293)
@@ -41,11 +41,13 @@
         root_folder,
         IClientIdManager, 'CookieClientIdManager',
         CookieClientIdManager,
+        asObject=True,
         )
     ensureUtility(
         root_folder,
         ISessionDataContainer, 'PersistentSessionDataContainer',
         PersistentSessionDataContainer,
+        asObject=True,
         )
 
     transaction.commit()



More information about the Zope3-Checkins mailing list