From 83f4f6105c29cecfb6d636b6cfea6c8f5214a54b Mon Sep 17 00:00:00 2001 From: Andrii Sosiuk <andrii.sosiuk@seco.com> Date: Tue, 16 Jul 2024 11:50:47 +0200 Subject: [PATCH] Take group path from group instead of options --- scripts/gitlab_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gitlab_backup.py b/scripts/gitlab_backup.py index 60b0f0f..a4a81c0 100755 --- a/scripts/gitlab_backup.py +++ b/scripts/gitlab_backup.py @@ -260,7 +260,7 @@ def main(args): p = {} for project in projects: print(f"Processing project: {project.name} {project.path_with_namespace}") - if check_project_is_shared(project, options.group_path): + if check_project_is_shared(project, group.full_path): print("This is a shared project. Skipping.") continue -- GitLab