[Checkins] SVN: cipher.session/trunk/ Added Location to SessionDataManager to avoid having a LocationProxy around it

Adam Groszer cvs-admin at zope.org
Sat Jul 21 09:30:05 UTC 2012


Log message for revision 127359:
  Added Location to SessionDataManager to avoid having a LocationProxy around it

Changed:
  U   cipher.session/trunk/CHANGES.txt
  U   cipher.session/trunk/setup.py
  U   cipher.session/trunk/src/cipher/session/session.py

-=-
Modified: cipher.session/trunk/CHANGES.txt
===================================================================
--- cipher.session/trunk/CHANGES.txt	2012-07-21 09:24:20 UTC (rev 127358)
+++ cipher.session/trunk/CHANGES.txt	2012-07-21 09:30:02 UTC (rev 127359)
@@ -7,7 +7,9 @@
 
 - Now really get rid of ISessionDataContainer on bootstrap.
 
+- Added Location to SessionDataManager to avoid having a LocationProxy around it
 
+
 1.0.3 (2012-04-05)
 ------------------
 

Modified: cipher.session/trunk/setup.py
===================================================================
--- cipher.session/trunk/setup.py	2012-07-21 09:24:20 UTC (rev 127358)
+++ cipher.session/trunk/setup.py	2012-07-21 09:30:02 UTC (rev 127359)
@@ -65,6 +65,7 @@
         'zope.interface',
         'zope.component',
         'zope.session',
+        'zope.location',
         'zope.publisher',
         'repoze.session',
 

Modified: cipher.session/trunk/src/cipher/session/session.py
===================================================================
--- cipher.session/trunk/src/cipher/session/session.py	2012-07-21 09:24:20 UTC (rev 127358)
+++ cipher.session/trunk/src/cipher/session/session.py	2012-07-21 09:30:02 UTC (rev 127359)
@@ -22,6 +22,7 @@
 from persistent import Persistent
 from persistent.mapping import PersistentMapping
 from ZODB.POSException import ConflictError
+from zope.location.location import Location
 from zope.publisher.interfaces import IRequest
 from zope.session.interfaces import ISession
 from zope.session.interfaces import IClientId
@@ -121,7 +122,7 @@
         return resolved
 
 
-class SessionDataManager(manager.SessionDataManager):
+class SessionDataManager(manager.SessionDataManager, Location):
 
     zope.interface.implements(interfaces.ISessionDataManager)
 



More information about the checkins mailing list