From: Tony Mack Date: Mon, 27 Jun 2011 16:39:33 +0000 (-0400) Subject: fix NameError X-Git-Tag: sfa-1.0-27~64 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=91d0dd2d0de6538056f45a67f2b9f3605475777f;p=sfa.git fix NameError --- diff --git a/sfa/managers/aggregate_manager_pl.py b/sfa/managers/aggregate_manager_pl.py index bfa8d592..3b81ba65 100644 --- a/sfa/managers/aggregate_manager_pl.py +++ b/sfa/managers/aggregate_manager_pl.py @@ -204,7 +204,7 @@ def CreateSliver(api, slice_xrn, creds, rspec_string, users, call_id): api.plshell.AddSliceToNodes(api.plauth, slice['name'], added_nodes) api.plshell.DeleteSliceFromNodes(api.plauth, slice['name'], deleted_nodes) - for attribute in slice_atrributes: + for attribute in slice_attributes: name, value, node_id = attribute['tagname'], attribute['value'], attribute.get('node_id', None) api.plshell.AddSliceTag(api.plauth, slice['name'], name, value, node_id)