X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/d7764c68cddf71645439f295c31532e528231051..544d8ae78221ce603aad719ced275649a5ffd60d:/code/cache_acls.py diff --git a/code/cache_acls.py b/code/cache_acls.py index 1a23587..7634b7e 100644 --- a/code/cache_acls.py +++ b/code/cache_acls.py @@ -42,7 +42,8 @@ def expandName(name): def accessList(m): people = set() people.update(expandLocker(m.owner)) - people.update(expandName(m.administrator)) + if m.administrator is not None: + people.update(expandName(m.administrator)) return people def refreshMachine(m):