# check if group_path returned by API match group_path provided by user
ifbutler.group_path!=group.full_path:
print(
f"{AnsiColors.BLUE}Warning:{AnsiColors.RESET} provided group path {AnsiColors.BLUE}{butler.group_path}{AnsiColors.RESET} is not in canonical form (should be: {AnsiColors.BLUE}{group.full_path}{AnsiColors.RESET})"
)
# replace user provided group path with the API provided group path
butler.group_path=group.full_path
exceptGitlabGetErrorasge:
print(
f"Src group {AnsiColors.BLUE}{butler.group_path}{AnsiColors.RESET}: get {AnsiColors.HRED}failed{AnsiColors.RESET}",