From b9212852bfcbff0b99696852f5a17bd8ed95d626 Mon Sep 17 00:00:00 2001 From: thijs snijder <snijder@astron.nl> Date: Mon, 17 May 2021 17:08:30 +0200 Subject: [PATCH] removed line from set_c0mm_client --- devices/util/attribute_wrapper.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/devices/util/attribute_wrapper.py b/devices/util/attribute_wrapper.py index 73e892322..9182da516 100644 --- a/devices/util/attribute_wrapper.py +++ b/devices/util/attribute_wrapper.py @@ -135,8 +135,6 @@ class attribute_wrapper(attribute): try: self.read_function, self.write_function = client.setup_attribute(self.comms_annotation, self) except Exception as e: - def pass_func(value=None): - pass 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 -- GitLab