From 2325304b7b67ef1e1d1f3426627a6e9fa99a4651 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 10 Feb 2009 23:14:50 +0000 Subject: [PATCH] fix bug --- geni/aggregate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geni/aggregate.py b/geni/aggregate.py index 9c550be2..29948ec2 100644 --- a/geni/aggregate.py +++ b/geni/aggregate.py @@ -183,7 +183,7 @@ class Aggregate(GeniServer): for node in nodes: node_hrn = self.hostname_to_hrn(site_dict[node['site_id']], node['hostname']) # filter nodes with a whitelist - if node.has_key('slice_ids_whitelist') and node['slice_ids_whitelist'): + if node.has_key('slice_ids_whitelist') and node['slice_ids_whitelist']: continue # Do not allow nodes not found in whitelist policy if self.policy['whitelist'] and node_hrn not in self.polciy['whitelist']: -- 2.47.0