X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/3e4e36646abc246c52b6001b2a04ab70c31060b5..bb0684e596383116bfff324bed380444a6c4cc05:/invirt-build-conf?ds=sidebyside diff --git a/invirt-build-conf b/invirt-build-conf index 1acbc9d..cd0a750 100755 --- a/invirt-build-conf +++ b/invirt-build-conf @@ -43,7 +43,7 @@ def main(): build_handler = '/usr/bin/invirt-submit-build' for pocket in config.build.pockets: - acl = authz.expandAdmin(getattr(config.build.pockets, pocket).acl, None) + acl = authz.expandAdmin(getattr(config.build.pockets, pocket).acl) with atomic_write(acl_path(pocket)) as f: princs = [userToPrinc(a) for a in acl] print >>f, '\n'.join(princs) @@ -54,7 +54,7 @@ def main(): print >>f, 'build %s %s %s' % (pocket, build_handler, acl_path(pocket)) with atomic_write('/etc/remctl/acl/repo_admin') as f: - acl = authz.expandAdmin(config.build.repo_admin, None) + acl = authz.expandAdmin(config.build.repo_admin) print >>f, '\n'.join(userToPrinc(a) for a in acl) with atomic_write('/etc/remctl/conf.d/repo_admin') as f: