From a69c74519be65b1821b418ad49a10cdfa136cacf Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Mon, 8 Feb 2021 11:25:25 +0100
Subject: [PATCH] Groan.  It is tolist() and not to_list().

---
 SDP/SDP/SDP.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SDP/SDP/SDP.py b/SDP/SDP/SDP.py
index f76db083c..1bf3ad452 100644
--- a/SDP/SDP/SDP.py
+++ b/SDP/SDP/SDP.py
@@ -286,7 +286,7 @@ class SDP(Device):
     @fault_on_error
     def write_fpga_mask_RW(self, value):
         """Return the fpga_mask_RW attribute."""
-        self.attribute_mapping["fpga_mask_RW"].set_value(value.to_list())
+        self.attribute_mapping["fpga_mask_RW"].set_value(value.tolist())
         _fpga_mask_RW = value
         return
 
@@ -307,7 +307,7 @@ class SDP(Device):
     @fault_on_error
     def write_fpga_scrap_RW(self, value):
         """Return the fpga_scrap_RW attribute."""
-        self.attribute_mapping["fpga_scrap_RW"].set_value(value.to_list())
+        self.attribute_mapping["fpga_scrap_RW"].set_value(value.tolist())
         _fpga_scrap_RW = value
         return
 
-- 
GitLab