Changeset 1136 for trunk/packages
- Timestamp:
- Oct 19, 2008, 2:02:50 AM (16 years ago)
- Location:
- trunk/packages/sipb-xen-database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/debian/changelog
r1132 r1136 1 sipb-xen-database (10.32) unstable; urgency=low 2 3 * invirt.database.clear_cache should actually do something 4 5 -- Evan Broder <broder@mit.edu> Sun, 19 Oct 2008 02:02:37 -0400 6 1 7 sipb-xen-database (10.31) unstable; urgency=low 2 8 -
trunk/packages/sipb-xen-database/python/database/models.py
r1014 r1136 120 120 121 121 def clear_cache(): 122 """Clear sqlalchemy's cache. 122 """Clear sqlalchemy's cache 123 """ 123 124 124 This _seems_ to be the way; it works, but the docs don't mention 125 it. Why is this so obscure?""" 126 127 # XXX maybe we still need to do this, but it's not doc'd how. 128 #ctx.registry.clear() 125 session.clear()
Note: See TracChangeset
for help on using the changeset viewer.