X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/dc5962060920e5b064064f10e539d49a68c9da68..55a1b4d83e6a40a12ec3b540692e98c50cef244e:/code/cache_acls.py 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()