Update (at least some of) the web code to work with newer a SQLAlchemy
[invirt/packages/invirt-web.git] / code / controls.py
index 8a5f1ef..d20f5f0 100644 (file)
@@ -13,7 +13,7 @@ import cache_acls
 import yaml
 
 from invirt.config import structs as config
-from invirt.database import Machine, Disk, Type, NIC, CDROM, ctx, meta
+from invirt.database import Machine, Disk, Type, NIC, CDROM, session, meta
 
 # ... and stolen from xend/uuid.py
 def randomUUID():