From b2d2b5cf066314c7b4176612c0401df68e201a0d Mon Sep 17 00:00:00 2001
From: thijs snijder <snijder@astron.nl>
Date: Mon, 17 May 2021 17:12:58 +0200
Subject: [PATCH] removed argument from pass function

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

diff --git a/devices/util/attribute_wrapper.py b/devices/util/attribute_wrapper.py
index 9182da516..8340af614 100644
--- a/devices/util/attribute_wrapper.py
+++ b/devices/util/attribute_wrapper.py
@@ -139,11 +139,11 @@ class attribute_wrapper(attribute):
             logger.error("Exception while setting {} attribute with annotation: '{}'".format(client.__class__.__name__, self.comms_annotation))
             raise Exception("Exception while setting %s attribute with annotation: '%s'", client.__class__.__name__, self.comms_annotation) from e
 
-    def set_pass_func(self, client):
+    def set_pass_func(self):
         def pass_func(value=None):
             pass
 
-        logger.debug("using pass function for {} attribute with annotation: {}".format(client.__class__.__name__, self.comms_annotation))
+        logger.debug("using pass function for attribute with annotation: {}".format(self.comms_annotation))
 
         self.read_function = pass_func
         self.write_function = pass_func
-- 
GitLab