X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/a866772381ee2e793857166b45b3de3fb3e65147..4968927e695e31396ba840f07a61fab1424c5c76:/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 []