backend/satellite_tools/sync_handlers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 555c7329c2a99409a0a35c69da3d7bfae128afb2
Author: Pradeep Kilambi <pkilambi(a)redhat.com>
Date: Fri Aug 7 12:09:47 2009 -0400
516237 - Fix the channel family population task to take into account None counts and
use 0 instead while computing the purge count.
diff --git a/backend/satellite_tools/sync_handlers.py
b/backend/satellite_tools/sync_handlers.py
index f1de603..b0d8f5c 100644
--- a/backend/satellite_tools/sync_handlers.py
+++ b/backend/satellite_tools/sync_handlers.py
@@ -641,7 +641,7 @@ def populate_channel_family_permissions(cert):
for (cf_name, org_id), max_members in cfps.items():
if org_id == 1:
if cert_chfam_hash.has_key(cf_name):
- cert_max_value = cert_chfam_hash[cf_name]
+ cert_max_value = cert_chfam_hash[cf_name] or 0
else:
# remove entitlements on extra slots
cfps[(cf_name, org_id)] = None
Show replies by date