From b2566de02fc7459fbdfbc39ab0b4835aa1f65539 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 23 Jun 2011 17:16: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 a4e56519..bfa8d592 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 sliver_atrributes: + for attribute in slice_atrributes: 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.47.0