backend/satellite_tools/sync_handlers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 66e4a0d32803210f6671acfc0feb94e663d9c6e4
Author: Pradeep Kilambi <pkilambi(a)redhat.com>
Date: Fri Aug 7 12:52:09 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 e0e3fb9..7691b95 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