projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
invirt-cache-acls: get afs cell list from invirt-config
[invirt/packages/invirt-web.git]
/
code
/
cache_acls.py
diff --git
a/code/cache_acls.py
b/code/cache_acls.py
index
1a23587
..
7634b7e
100644
(file)
--- 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))
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):
return people
def refreshMachine(m):