[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/postgres.py re-added cache

Andreas Jung andreas at andreas-jung.com
Sat Mar 17 12:31:20 EDT 2007


Log message for revision 73299:
  re-added cache
  

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

-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/postgres.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/postgres.py	2007-03-17 16:03:13 UTC (rev 73298)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/postgres.py	2007-03-17 16:31:20 UTC (rev 73299)
@@ -19,6 +19,9 @@
 
 from zope_mixin import ZopeMixin
 
+_cache = threading.local() # module-level cache 
+
+
 class PythonPostgresWrapper(BaseWrapper):
 
     implements(ISQLAlchemyWrapper)



More information about the Checkins mailing list