X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e11cdd5476f7f1a456ece94862c211a1b83b093c..8750e7712cc522602b94756be8311ba50a791837:/code/cache_acls.py diff --git a/code/cache_acls.py b/code/cache_acls.py index 130f359..2b3fd6c 100644 --- a/code/cache_acls.py +++ b/code/cache_acls.py @@ -1,5 +1,6 @@ #!/usr/bin/python from invirt.database import * +from invirt.config import structs as config import sys import getafsgroups import subprocess @@ -29,7 +30,7 @@ def expandName(name): return [name] return [] try: - return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu') + return getafsgroups.getAfsGroupMembers(name, config.authz[0].cell) except getafsgroups.AfsProcessError: return []