From 02f7620ec6f9bc23661a0cb7cd4ffa0030f2feea Mon Sep 17 00:00:00 2001
From: Evan Broder <broder@mit.edu>
Date: Thu, 9 Oct 2008 02:20:44 -0400
Subject: [PATCH] Fix a SQLAlchemy bug in the web ACL caching code

svn path=/trunk/packages/sipb-xen-www/; revision=1095
---
 code/cache_acls.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/cache_acls.py b/code/cache_acls.py
index 414f2e3..fa9b9f9 100644
--- a/code/cache_acls.py
+++ b/code/cache_acls.py
@@ -55,7 +55,7 @@ def refreshCache():
     session.begin()
 
     try:
-        machines = Machine.select()
+        machines = Machine.query().all()
         for m in machines:
             refreshMachine(m)
         session.flush()
-- 
1.7.9.5