X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/921681d96bf39509c3a4354fe0e3d0331aa8d27b..64bd9d9c871b7f218f46d5d949b67d6140ff22bc:/invirt-build-conf diff --git a/invirt-build-conf b/invirt-build-conf index 13ce3c4..d43bc7c 100755 --- a/invirt-build-conf +++ b/invirt-build-conf @@ -11,7 +11,7 @@ the git user that developers can push through. import os import tempfile -from invirt.authz import mech as authz +from invirt import authz from invirt import builder from invirt.config import structs as config @@ -35,10 +35,10 @@ def main(): # .close(). Oh well. conf_fd, conf_name = tempfile.mkstemp() conf = os.fdopen(conf_fd, 'r+') - build_handler = '/usr/sbin/invirt-submit-build' + build_handler = '/usr/bin/invirt-submit-build' - 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) acl_fd, acl_name = tempfile.mkstemp() acl_fd = os.fdopen(acl_fd, 'r+')