Serve the repositories in /srv/git over a git-daemon
[invirt/packages/invirt-dev.git] / invirt-build-conf
index 13ce3c4..6d3430b 100755 (executable)
@@ -37,8 +37,8 @@ def main():
     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+')