[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py removed some ambigious code :-)

Andreas Jung andreas at andreas-jung.com
Mon Apr 30 11:35:39 EDT 2007


Log message for revision 74926:
  removed some ambigious code :-)
  

Changed:
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py

-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py	2007-04-30 14:39:32 UTC (rev 74925)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py	2007-04-30 15:35:39 UTC (rev 74926)
@@ -173,8 +173,7 @@
         session = sqlalchemy.create_session(self._engine)
                                           
         # register a DataManager with the current transaction
-        DM = DataManager(session)  # no, 'DM' does not mean Dieter Maurer
-        txn.join(DM)
+        txn.join(DataManager(session))
 
         # update thread-local cache
         _cache.last_transaction = txn_str



More information about the Checkins mailing list