From 204091f8592544d42563ed07f97db650f48af669 Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Fri, 22 Jan 2021 16:38:57 +0100
Subject: [PATCH] Remove annoying new lines added by Pogo

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

diff --git a/RCUSCC/RCUSCC/RCUSCC.py b/RCUSCC/RCUSCC/RCUSCC.py
index 255595652..dd30828d3 100644
--- a/RCUSCC/RCUSCC/RCUSCC.py
+++ b/RCUSCC/RCUSCC/RCUSCC.py
@@ -604,8 +604,7 @@ class RCUSCC(Device):
     # Commands
     # --------
 
-    @command(
-    )
+    @command()
     @only_in_states([DevState.FAULT, DevState.OFF])
     @DebugIt()
     def Init(self):
@@ -627,8 +626,7 @@ class RCUSCC(Device):
 
         self.set_state(DevState.STANDBY)
 
-    @command(
-    )
+    @command()
     @only_in_states([DevState.STANDBY])
     @DebugIt()
     def On(self):
@@ -640,8 +638,7 @@ class RCUSCC(Device):
 
         self.set_state(DevState.ON)
 
-    @command(
-    )
+    @command()
     @DebugIt()
     def Off(self):
         """
@@ -662,8 +659,7 @@ class RCUSCC(Device):
         # Turn off again, in case of race conditions through reconnecting
         self.set_state(DevState.OFF)
 
-    @command(
-    )
+    @command()
     @only_in_states([DevState.ON, DevState.INIT, DevState.STANDBY])
     @DebugIt()
     def Fault(self):
@@ -678,8 +674,7 @@ class RCUSCC(Device):
         """
         self.set_state(DevState.FAULT)
 
-    @command(
-    )
+    @command()
     @DebugIt()
     def RCU_off(self):
         """
@@ -688,8 +683,7 @@ class RCUSCC(Device):
         """
         self.function_mapping["RCU_off"]()
 
-    @command(
-    )
+    @command()
     @DebugIt()
     def RCU_on(self):
         """
@@ -698,8 +692,7 @@ class RCUSCC(Device):
         """
         self.function_mapping["RCU_on"]()
 
-    @command(
-    )
+    @command()
     @DebugIt()
     def ADC_on(self):
         """
@@ -708,8 +701,7 @@ class RCUSCC(Device):
         """
         self.function_mapping["ADC_on"]()
 
-    @command(
-    )
+    @command()
     @DebugIt()
     def RCU_update(self):
         """
@@ -722,8 +714,6 @@ class RCUSCC(Device):
 # ----------
 # Run server
 # ----------
-
-
 def main(args=None, **kwargs):
     """Main function of the RCUSCC module."""
     return run((RCUSCC,), args=args, **kwargs)
-- 
GitLab