From 71663329b9d58d290dfaef5635288913b0995347 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 25 Sep 2012 12:07:51 +0200 Subject: [PATCH] return instead of continue --- sfa/planetlab/plaggregate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/planetlab/plaggregate.py b/sfa/planetlab/plaggregate.py index f3b66fab..e66b4140 100644 --- a/sfa/planetlab/plaggregate.py +++ b/sfa/planetlab/plaggregate.py @@ -176,7 +176,7 @@ class PlAggregate: # get the granularity in second for the reservation system grain = self.driver.shell.GetLeaseGranularity() if sliver['slice_ids_whitelist'] and sliver['slice_id'] not in sliver['slice_ids_whitelist']: - continue + return # (was: continue) rspec_node = self.get_rspec_node(node, sites_dict, interfaces, node_tags, pl_initscripts, grain) # xxx how to retrieve site['login_base'] rspec_node['expires'] = datetime_to_string(utcparse(slice[0]['expires'])) -- 2.43.0