[Zope3-checkins] SVN: Zope3/branches/jinty-zodbless/src/zope/app/debug/debug.py Fix one last place where the deprecation warning was fired.

Brian Sutherland jinty at web.de
Mon Apr 9 19:40:38 EDT 2007


Log message for revision 74074:
  Fix one last place where the deprecation warning was fired.

Changed:
  U   Zope3/branches/jinty-zodbless/src/zope/app/debug/debug.py

-=-
Modified: Zope3/branches/jinty-zodbless/src/zope/app/debug/debug.py
===================================================================
--- Zope3/branches/jinty-zodbless/src/zope/app/debug/debug.py	2007-04-09 23:12:50 UTC (rev 74073)
+++ Zope3/branches/jinty-zodbless/src/zope/app/debug/debug.py	2007-04-09 23:40:33 UTC (rev 74074)
@@ -22,6 +22,7 @@
 from StringIO import StringIO
 from zope.publisher.publish import publish as _publish, debug_call
 from zope.publisher.browser import TestRequest, setDefaultSkin
+from zope.app.zodb.app import ZODBApplicationFactory
 from zope.app.publication.browser import BrowserPublication
 from zope.app.appsetup import config, database
 
@@ -80,7 +81,7 @@
             env['HTTP_AUTHORIZATION']="Basic %s" % base64.encodestring(basic)
 
 
-        pub = publication(self.db)
+        pub = publication(ZODBApplicationFactory(self.db))
 
         if request is not None:
             request = request(stdin, env)



More information about the Zope3-Checkins mailing list