From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Wed, 12 Dec 2012 08:03:20 +0000 (+0100)
Subject: cosmetic
X-Git-Tag: plcapi-5.1-5~3
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2f77e84cea805ce9f44a471aab3ebaf2cee8d1a9;p=plcapi.git

cosmetic
---

diff --git a/PLC/Methods/UpdateNode.py b/PLC/Methods/UpdateNode.py
index c09e10c9..973dbb92 100644
--- a/PLC/Methods/UpdateNode.py
+++ b/PLC/Methods/UpdateNode.py
@@ -9,8 +9,6 @@ from PLC.Sites import Sites
 from PLC.Nodes import Node, Nodes
 from PLC.TagTypes import TagTypes
 from PLC.NodeTags import NodeTags, NodeTag
-from PLC.Methods.AddNodeTag import AddNodeTag
-from PLC.Methods.UpdateNodeTag import UpdateNodeTag
 
 admin_only = [ 'key', 'session', 'boot_nonce', 'site_id']
 can_update = ['hostname', 'node_type', 'boot_state', 'model', 'version'] + admin_only
@@ -112,6 +110,7 @@ class UpdateNode(Method):
                 node_tag = node_tags[0]
                 node_tag['value'] = value
                 node_tag.sync()
+
         # Logging variables
         self.event_objects = {'Node': [node['node_id']]}
         if 'hostname' in node: