diff --git a/CHANGES/632.bugfix b/CHANGES/632.bugfix new file mode 100644 index 000000000..709dd3935 --- /dev/null +++ b/CHANGES/632.bugfix @@ -0,0 +1 @@ +Fixed a bug preventing the synchronization of repos referencing a single package from multiple package indices. diff --git a/pulp_deb/app/models/repository.py b/pulp_deb/app/models/repository.py index 44e240a29..1e2550449 100644 --- a/pulp_deb/app/models/repository.py +++ b/pulp_deb/app/models/repository.py @@ -1,6 +1,6 @@ from pulpcore.plugin.models import Repository -from pulpcore.plugin.repo_version_utils import remove_duplicates, validate_repo_version +from pulpcore.plugin.repo_version_utils import remove_duplicates, validate_version_paths from pulp_deb.app.models import ( AptRemote, @@ -67,7 +67,7 @@ def finalize_new_version(self, new_version): from pulp_deb.app.tasks.exceptions import DuplicateDistributionException remove_duplicates(new_version) - validate_repo_version(new_version) + validate_version_paths(new_version) releases = new_version.get_content(Release.objects.all()) distributions = [] for release in releases: