[Checkins] SVN: Products.SQLAlchemyDA/trunk/da.py compatiblity fix
for z3c.sqlalchemy 1.1.0
Andreas Jung
andreas at andreas-jung.com
Thu Jan 24 12:40:17 EST 2008
Log message for revision 83176:
compatiblity fix for z3c.sqlalchemy 1.1.0
Changed:
U Products.SQLAlchemyDA/trunk/da.py
-=-
Modified: Products.SQLAlchemyDA/trunk/da.py
===================================================================
--- Products.SQLAlchemyDA/trunk/da.py 2008-01-24 17:27:20 UTC (rev 83175)
+++ Products.SQLAlchemyDA/trunk/da.py 2008-01-24 17:40:16 UTC (rev 83176)
@@ -103,8 +103,11 @@
wrapper = self._wrapper
if wrapper is not None:
- d = self._wrapper.kw
+ d = self._wrapper.__dict__.copy()
d['DSN'] = self._wrapper.dsn
+ for k in d.keys()[:]:
+ if k.startswith('_'):
+ del d[k]
return d
else:
return {}
More information about the Checkins
mailing list