[Checkins] SVN: z3c.sqlalchemy/branches/reusing-zalchemy/src/z3c/sqlalchemy/base.py removed old ZopeBaseWrapper code and making it an alias

Andreas Jung andreas at andreas-jung.com
Sat Mar 15 18:08:34 EDT 2008


Log message for revision 84682:
  removed old ZopeBaseWrapper code and making it an alias
  to BaseWrapper (BBB)
  

Changed:
  U   z3c.sqlalchemy/branches/reusing-zalchemy/src/z3c/sqlalchemy/base.py

-=-
Modified: z3c.sqlalchemy/branches/reusing-zalchemy/src/z3c/sqlalchemy/base.py
===================================================================
--- z3c.sqlalchemy/branches/reusing-zalchemy/src/z3c/sqlalchemy/base.py	2008-03-15 21:54:03 UTC (rev 84681)
+++ z3c.sqlalchemy/branches/reusing-zalchemy/src/z3c/sqlalchemy/base.py	2008-03-15 22:08:34 UTC (rev 84682)
@@ -131,17 +131,5 @@
                                                          transactional=True,
                                                          **self.session_options)
 
+ZopeBaseWrapper = BaseWrapper
 
-class ZopeBaseWrapper(BaseWrapper):
-    """ A wrapper to be used from within Zope. It connects
-        the session with the transaction management of Zope.
-    """
-
-    @property
-    def connection(self):
-        """ This property is _private_ and only intented to be used
-            by SQLAlchemyDA and therefore it is not part of the 
-            public API. 
-        """
-    
-        return self.__getOrCreateConnectionCacheItem(self._id)['connection']



More information about the Checkins mailing list