X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/94b47c9d6a68a77ac7e5da91562261bebed0c053..0fd4f71db5072a290b5be1facf75a8c5a1c1fec3:/code/cache_acls.py diff --git a/code/cache_acls.py b/code/cache_acls.py index 81827b0..b18eabc 100644 --- a/code/cache_acls.py +++ b/code/cache_acls.py @@ -27,8 +27,11 @@ def expandName(name): if ':' not in name: if isUser(name): return [name] - name = 'system:'+name - return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu') + return [] + try: + return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu') + except getafsgroups.AfsProcessError: + return [] def accessList(m): people = set()