X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/606c843a867528a38bdc58bcdea8c657be5de5fa..4ce9e31db6102ba0d2597e2e62d23c484450d85d:/code/cache_acls.py

diff --git a/code/cache_acls.py b/code/cache_acls.py
index 7634b7e..fe69815 100644
--- a/code/cache_acls.py
+++ b/code/cache_acls.py
@@ -10,8 +10,12 @@ def expandLocker(name):
         groups = getafsgroups.getLockerAcl(name)
     except getafsgroups.AfsProcessError, e:
         if e.message.startswith("fs: You don't have the required access rights on"):
-            groups = []
-        raise
+            return []
+        elif e.message.endswith("doesn't exist\n"):
+            # presumably deactivated
+            return []
+        else:
+            raise
     cell = getafsgroups.getCell(name)
     ans = set()
     for group in groups: