[Checkins] SVN: z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/ Fixed deprecated session imports

Darryl Cousins darryl at darrylcousins.net.nz
Mon Mar 10 01:14:28 EDT 2008


Log message for revision 84562:
  Fixed deprecated session imports

Changed:
  U   z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/BROWSER.txt
  U   z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/testlayer.zcml

-=-
Modified: z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/BROWSER.txt
===================================================================
--- z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/BROWSER.txt	2008-03-10 05:12:50 UTC (rev 84561)
+++ z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/BROWSER.txt	2008-03-10 05:14:27 UTC (rev 84562)
@@ -58,7 +58,7 @@
 session storage has to provide a timeout of 0 (zero) which means it's item
 the persistent CookieCredentials will never expire.
 
-  >>> from zope.app.session.interfaces import ISessionDataContainer
+  >>> from zope.session.interfaces import ISessionDataContainer
   >>> from z3c.authentication.cookie import interfaces
   >>> sdc = default['CookieCredentialSessionDataContainer']
   >>> sdc

Modified: z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/testlayer.zcml
===================================================================
--- z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/testlayer.zcml	2008-03-10 05:12:50 UTC (rev 84561)
+++ z3c.authentication/branches/darrylcousins/src/z3c/authentication/cookie/testlayer.zcml	2008-03-10 05:14:27 UTC (rev 84562)
@@ -22,7 +22,7 @@
   <include package="zope.app.securitypolicy" />
 
   <securityPolicy
-      component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy"
+      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
       />
 
   <role id="zope.Manager" title="Site Manager" />



More information about the Checkins mailing list