conf = os.fdopen(conf_fd, 'r+')
build_handler = '/usr/sbin/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+')