- for pocket in config.git.pockets:
- acl = authz.expandAdmin(getattr(config.git.pockets, pocket).acl, None)
+ for pocket in config.build.pockets:
+ acl = authz.expandAdmin(getattr(config.build.pockets, pocket).acl, None)
+ with atomic_write(acl_path(pocket)) as f:
+ princs = [userToPrinc(a) for a in acl]
+ print >>f, '\n'.join(princs)
+ all_devs.update(set(princs))