X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/0829a92050bada078fa6efb21a86c71c7390015d..c5de4def3ee8581b5fdafe9bc34f1520e4bc8252:/code/cache_acls.py diff --git a/code/cache_acls.py b/code/cache_acls.py index 8cd6977..fe69815 100644 --- a/code/cache_acls.py +++ b/code/cache_acls.py @@ -10,7 +10,10 @@ 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 = [] + return [] + elif e.message.endswith("doesn't exist\n"): + # presumably deactivated + return [] else: raise cell = getafsgroups.getCell(name)