From e4810a38592de9abde703d1813412b46dcf27320 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 30 Nov 2010 11:09:23 +0100 Subject: [PATCH] fix fix --- PLC/Methods/DeleteSliceTag.py | 2 +- PLC/Methods/UpdateSliceTag.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Methods/DeleteSliceTag.py b/PLC/Methods/DeleteSliceTag.py index 6e62aa9..effb99d 100644 --- a/PLC/Methods/DeleteSliceTag.py +++ b/PLC/Methods/DeleteSliceTag.py @@ -41,7 +41,7 @@ class DeleteSliceTag(Method): raise PLCInvalidArgument, "No such slice attribute" slice_tag = slice_tags[0] - tag_type_id = node_tag['tag_type_id'] + tag_type_id = slice_tag['tag_type_id'] tag_type = TagTypes (self.api,[tag_type_id])[0] slices = Slices(self.api, [slice_tag['slice_id']]) diff --git a/PLC/Methods/UpdateSliceTag.py b/PLC/Methods/UpdateSliceTag.py index 3620d81..70db326 100644 --- a/PLC/Methods/UpdateSliceTag.py +++ b/PLC/Methods/UpdateSliceTag.py @@ -45,7 +45,7 @@ class UpdateSliceTag(Method): raise PLCInvalidArgument, "No such slice attribute" slice_tag = slice_tags[0] - tag_type_id = node_tag['tag_type_id'] + tag_type_id = slice_tag['tag_type_id'] tag_type = TagTypes (self.api,[tag_type_id])[0] slices = Slices(self.api, [slice_tag['slice_id']]) -- 2.43.0