Loading src/cli/entrypoint.py +4 −3 Changes for src/cli/entrypoint.py: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -170,8 +170,8 @@ class Entrypoint: parent_description, parent_name, ) if not parent_description_text or not group.description.endswith( f'{parent_description_text}'): if not parent_description_text or not group.description or \ not group.description.endswith(f'{parent_description_text}'): description = f'{GitLabFeature.Helper.capitalize(group.name)}' \ f'{parent_description_text}' gitlab.group_set_description(criteria, description) Loading Loading @@ -250,7 +250,8 @@ class Entrypoint: group.description, group.name, ) if not project.description.endswith(f' - {group_description}'): if not project.description or \ not project.description.endswith(f' - {group_description}'): description = f'{GitLabFeature.Helper.capitalize(project.name)}' \ f' - {group_description}' gitlab.project_set_description(criteria, description) Loading Loading
src/cli/entrypoint.py +4 −3 Changes for src/cli/entrypoint.py: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -170,8 +170,8 @@ class Entrypoint: parent_description, parent_name, ) if not parent_description_text or not group.description.endswith( f'{parent_description_text}'): if not parent_description_text or not group.description or \ not group.description.endswith(f'{parent_description_text}'): description = f'{GitLabFeature.Helper.capitalize(group.name)}' \ f'{parent_description_text}' gitlab.group_set_description(criteria, description) Loading Loading @@ -250,7 +250,8 @@ class Entrypoint: group.description, group.name, ) if not project.description.endswith(f' - {group_description}'): if not project.description or \ not project.description.endswith(f' - {group_description}'): description = f'{GitLabFeature.Helper.capitalize(project.name)}' \ f' - {group_description}' gitlab.project_set_description(criteria, description) Loading