From: Adam Glasgall Date: Sat, 27 Apr 2013 01:54:42 +0000 (-0400) Subject: SQLAlchemy renamed session.clear() to session.expunge_all() X-Git-Tag: 0.2.9~7 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/050675e6844e6ab31da0c9e47355b3d2f4515c6c SQLAlchemy renamed session.clear() to session.expunge_all() --- diff --git a/debian/changelog b/debian/changelog index 31a68a9..068d0ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-database (0.2.8~glasgall10) precise; urgency=low + + * SQLAlchemy renamed session.clear() to session.expunge_all() + + -- Adam Glasgall Fri, 26 Apr 2013 21:54:05 -0400 + invirt-database (0.2.8~glasgall9) precise; urgency=low * SQLAlchemy no longer injects a .c attribute containing mapped fields diff --git a/python/database/models.py b/python/database/models.py index dc87e3b..80749ff 100644 --- a/python/database/models.py +++ b/python/database/models.py @@ -190,4 +190,4 @@ def clear_cache(): """Clear sqlalchemy's cache """ - session.clear() + session.expunge_all()