Skip to content

Commit

Permalink
Fixes #11325 Pulp Errors on CV publish
Browse files Browse the repository at this point in the history
  • Loading branch information
John Mitsch committed Aug 13, 2015
1 parent 87637a4 commit f997a21
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -16,7 +16,7 @@ def invoke_external_task
package_groups_to_delete = repo.package_groups.collect do |group|
group.uuid if rpm_names.intersection(group.package_names).empty?
end
criteria = {:association=>{"unit_id"=>{"$in"=>package_groups_to_delete.compact!}}}
criteria = {:association=>{"unit_id"=>{"$in"=>package_groups_to_delete.compact}}}

::Katello.pulp_server.extensions.repository.unassociate_units(repo.pulp_id, :filters => criteria)
end
Expand Down

0 comments on commit f997a21

Please sign in to comment.