From 7151f585724a47b3c967b9e6101e2a518dafbeb7 Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Thu, 19 Nov 2020 19:17:10 +0100
Subject: [PATCH] Remove superfluous spaces

---
 RCUSCC/RCUSCC/RCUSCC.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/RCUSCC/RCUSCC/RCUSCC.py b/RCUSCC/RCUSCC/RCUSCC.py
index 8af704045..c6bc06b4d 100644
--- a/RCUSCC/RCUSCC/RCUSCC.py
+++ b/RCUSCC/RCUSCC/RCUSCC.py
@@ -270,7 +270,7 @@ class RCUSCC(Device):
                 self.name_space_index = 2
 
             self.obj_node = self.client.get_objects_node()
-            self.pcc_node = self.obj_node.get_child([ "{}:PCC".format(self.name_space_index)])
+            self.pcc_node = self.obj_node.get_child(["{}:PCC".format(self.name_space_index)])
 
             self.debug_stream("Mapping OPC-UA MP/CP to attributes...")
 
@@ -306,21 +306,21 @@ class RCUSCC(Device):
 
             self.attribute_mapping["RCU01_Dither2_Frequency_RW"] = self.pcc_node.get_child(["{}:RCU01_Dither2_Frequency_RW".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_LED0_R"] = self.pcc_node.get_child([ "{}:RCU01_LED0_R".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_LED0_R"] = self.pcc_node.get_child(["{}:RCU01_LED0_R".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_LED0_RW"] = self.pcc_node.get_child([ "{}:RCU01_LED0_RW".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_LED0_RW"] = self.pcc_node.get_child(["{}:RCU01_LED0_RW".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_Pwr_dig_R"] = self.pcc_node.get_child([ "{}:RCU01_Pwr_dig_R".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_Pwr_dig_R"] = self.pcc_node.get_child(["{}:RCU01_Pwr_dig_R".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_Pwr_dig_RW"] = self.pcc_node.get_child([ "{}:RCU01_Pwr_dig_RW".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_Pwr_dig_RW"] = self.pcc_node.get_child(["{}:RCU01_Pwr_dig_RW".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_Temp_R"] = self.pcc_node.get_child([ "{}:RCU01_Temp_R".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_Temp_R"] = self.pcc_node.get_child(["{}:RCU01_Temp_R".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_Temp_RW"] = self.pcc_node.get_child([ "{}:RCU01_Temp_RW".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_Temp_RW"] = self.pcc_node.get_child(["{}:RCU01_Temp_RW".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_RCU_off"] = self.pcc_node.get_child([ "{}:RCU01_RCU_off".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_RCU_off"] = self.pcc_node.get_child(["{}:RCU01_RCU_off".format(self.name_space_index)])
 
-            self.attribute_mapping["RCU01_RCU_on"] = self.pcc_node.get_child([ "{}:RCU01_RCU_on".format(self.name_space_index)])
+            self.attribute_mapping["RCU01_RCU_on"] = self.pcc_node.get_child(["{}:RCU01_RCU_on".format(self.name_space_index)])
 
 
             self.debug_stream("Mapping OPC-UA MP/CP to attributes done.")
-- 
GitLab