Loading gitlab_cp/sync.py +3 −3 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ class Synchronizer: self.project_description = project_description self.dry_run = dry_run self.continue_on_error = continue_on_error self.update_avatar = update_avatar self.force_update_avatar = update_avatar self.errors = [] self.warnings = [] self.groups_count = 0 Loading Loading @@ -469,7 +469,7 @@ class Synchronizer: and dest_avatar_url and src_avatar_url != f"{src_web_url}/-/avatar" # and not self.look_same_resources(src_avatar_url, dest_avatar_url) and (dest_avatar_url == f"{dest_web_url}/-/avatar" or self.update_avatar) and (dest_avatar_url == f"{dest_web_url}/-/avatar" or self.force_update_avatar) ): if self.dry_run: print( Loading Loading @@ -629,7 +629,7 @@ class Synchronizer: src_avatar_url = src_group.avatar_url dest_avatar_url = dest_group.avatar_url if ( src_avatar_url and (dest_avatar_url is None or self.update_avatar) src_avatar_url and (dest_avatar_url is None or self.force_update_avatar) # and not self.look_same_resources(src_avatar_url, dest_avatar_url) ): if self.dry_run: Loading Loading
gitlab_cp/sync.py +3 −3 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ class Synchronizer: self.project_description = project_description self.dry_run = dry_run self.continue_on_error = continue_on_error self.update_avatar = update_avatar self.force_update_avatar = update_avatar self.errors = [] self.warnings = [] self.groups_count = 0 Loading Loading @@ -469,7 +469,7 @@ class Synchronizer: and dest_avatar_url and src_avatar_url != f"{src_web_url}/-/avatar" # and not self.look_same_resources(src_avatar_url, dest_avatar_url) and (dest_avatar_url == f"{dest_web_url}/-/avatar" or self.update_avatar) and (dest_avatar_url == f"{dest_web_url}/-/avatar" or self.force_update_avatar) ): if self.dry_run: print( Loading Loading @@ -629,7 +629,7 @@ class Synchronizer: src_avatar_url = src_group.avatar_url dest_avatar_url = dest_group.avatar_url if ( src_avatar_url and (dest_avatar_url is None or self.update_avatar) src_avatar_url and (dest_avatar_url is None or self.force_update_avatar) # and not self.look_same_resources(src_avatar_url, dest_avatar_url) ): if self.dry_run: Loading