From: Tony Mack Date: Tue, 10 Feb 2009 23:14:50 +0000 (+0000) Subject: fix bug X-Git-Tag: sfa-0.9-0@14641~650 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2325304b7b67ef1e1d1f3426627a6e9fa99a4651;p=sfa.git fix bug --- 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']: