From 91d0dd2d0de6538056f45a67f2b9f3605475777f Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 27 Jun 2011 12:39:33 -0400 Subject: [PATCH] fix NameError --- sfa/managers/aggregate_manager_pl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.43.0