Changeset 410


Ignore:
Timestamp:
Apr 14, 2008, 12:00:36 AM (17 years ago)
Author:
ecprice
Message:

Expose a useful function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/cache_acls.py

    r263 r410  
    3131    return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu')
    3232
    33 def refreshMachine(m):
     33def accessList(m):
    3434    people = set()
    3535    people.update(expandLocker(m.owner))
    3636    people.update(expandName(m.administrator))
     37    return people
     38
     39def refreshMachine(m):
     40    people = accessList(m)
    3741    old_people = set(a.user for a in m.acl)
    3842    for removed in old_people - people:
Note: See TracChangeset for help on using the changeset viewer.