From: Thierry Parmentelat Date: Tue, 25 Sep 2012 10:07:51 +0000 (+0200) Subject: return instead of continue X-Git-Tag: sfa-3.0-0~112^2~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=71663329b9d58d290dfaef5635288913b0995347;hp=b6269382a09d12b9e57a352457afc7e55137f2d7;p=sfa.git return instead of continue --- 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']))