From b2a6eb90ce68c2e774b3dce95088cd8251194ba6 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Mon, 13 Mar 2023 09:09:46 +0100 Subject: [PATCH] L2SS-1258: Fix black errors --- .../tangostationcontrol/devices/temperature_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py b/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py index e3567d4cc..35aca4831 100644 --- a/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py +++ b/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py @@ -142,7 +142,9 @@ class TemperatureManager(LOFARDevice): dev_attr = self.temp_error_attrs[attr_name] dev_attr.proxy.unsubscribe_event(dev_attr.subscription_id) except Exception as e: - raise Exception(f"Failed to unsubscribe from event regarding device {dev_attr.proxy.dev_name()} attribute {attr_name}") from e + raise Exception( + f"Failed to unsubscribe from event regarding device {dev_attr.proxy.dev_name()} attribute {attr_name}" + ) from e finally: del self.temp_error_attrs[attr_name] -- GitLab