commit | 996258505036d840da91693e969e9defa9090ee0 | [log] [tgz] |
---|---|---|
author | Dmitry Burmistrov <dburmistrov@mirantis.com> | Mon Dec 03 15:27:58 2018 +0400 |
committer | Dmitry Burmistrov <dburmistrov@mirantis.com> | Mon Dec 03 15:30:17 2018 +0400 |
tree | 0f114dadd8f640fced4a2abc084e1ee71c10a32f | |
parent | 0176fcd8301c0ebec6d2681005d6b11bc80b26ff [diff] |
Allow using relative acl path
diff --git a/jeepyb/cmd/manage_projects.py b/jeepyb/cmd/manage_projects.py index c6b708e..9aef64b 100644 --- a/jeepyb/cmd/manage_projects.py +++ b/jeepyb/cmd/manage_projects.py
@@ -536,6 +536,8 @@ acl_config = section.get( 'acl-config', '%s.config' % os.path.join(ACL_DIR, project)) + if acl_config[0] != '/': + acl_config = os.path.join(ACL_DIR, acl_config) project_cache.setdefault(project, {}) # Create the project in Gerrit first, since it will fail