diff --git a/CHANGES/+atomic-replication-support.bugfix b/CHANGES/+atomic-replication-support.bugfix new file mode 100644 index 000000000..6795fafdc --- /dev/null +++ b/CHANGES/+atomic-replication-support.bugfix @@ -0,0 +1 @@ +Support "atomic" replications in pulpcore 3.107 diff --git a/pulp_python/app/replica.py b/pulp_python/app/replica.py index eb7fced63..da63c1810 100644 --- a/pulp_python/app/replica.py +++ b/pulp_python/app/replica.py @@ -31,7 +31,8 @@ def remote_extra_fields(self, upstream_distribution): def url(self, upstream_distribution): # Ignore distributions that are only pull-through repo, pub = upstream_distribution["repository"], upstream_distribution["publication"] - if repo or pub: + repo_ver = upstream_distribution.get("repository_version") + if repo or pub or repo_ver: return super().url(upstream_distribution) return None