svn path=/trunk/packages/sipb-xen-database/; revision=1136
+sipb-xen-database (10.32) unstable; urgency=low
+
+ * invirt.database.clear_cache should actually do something
+
+ -- Evan Broder <broder@mit.edu> Sun, 19 Oct 2008 02:02:37 -0400
+
sipb-xen-database (10.31) unstable; urgency=low
* Database-managed VMs should never even think about bridging
session.mapper(Autoinstall, autoinstalls_table)
def clear_cache():
- """Clear sqlalchemy's cache.
+ """Clear sqlalchemy's cache
+ """
- This _seems_ to be the way; it works, but the docs don't mention
- it. Why is this so obscure?"""
-
- # XXX maybe we still need to do this, but it's not doc'd how.
- #ctx.registry.clear()
+ session.clear()