No worries mon. I repatched with this oneā¦thanks for sending an update!
From: Martin Collins [mailto:[email protected]]
Sent: Wednesday, June 11, 2014 1:45 PM
To: Ashby, Jason (IMS)
Cc: Barnaby Court; [email protected]
Subject: Re: [Pulp-list] unable to remove rpms
Hey Jason,
Rather embarrassingly that's not the patch meant to send you (or indeed the
one we run) as it's the wrong section (just didn't want to misinform anyone
else that may have stumbled across this post, then taken that and run with it
to realise it was wrong)
well that was unintentional... apologies
---
/usr/lib/python2.6/site-packages/pulp/server/managers/repo/unit_association.py.orig
2014-06-11 18:38:02.253028438 +0100
+++
/usr/lib/python2.6/site-packages/pulp/server/managers/repo/unit_association.py
2014-03-20 15:31:08.101345574 +0000
@@ -380,9 +380,7 @@
for unit_type_id, unit_ids in unit_map.items():
spec = {'repo_id': repo_id,
'unit_type_id': unit_type_id,
- 'unit_id': {'$in': unit_ids},
- 'owner_type': owner_type,
- 'owner_id': owner_id}
+ 'unit_id': {'$in': unit_ids}}
collection.remove(spec, safe=True)
________________________________
Information in this e-mail may be confidential. It is intended only for the
addressee(s) identified above. If you are not the addressee(s), or an employee
or agent of the addressee(s), please note that any dissemination, distribution,
or copying of this communication is strictly prohibited. If you have received
this e-mail in error, please notify the sender of the error.
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list