Commit 55451854 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

fix-bug-forwarded-attributes: removed undefined variable error (got

with linting test)
parent 097993be
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1729,7 +1729,7 @@ class CspMaster(SKAMaster):
            proxy = self._capability_monitor_proxy[self.SearchBeamsMonitor]
            return proxy.capabilityAddresses
        except tango.DevFailed as tango_err:
            msg = "Attribute reading failure: {}".format(df.args[0].desc)
            msg = "Attribute reading failure: {}".format(tango_err.args[0].desc)
            self.logger.error(msg)
            tango.Except.throw_exception("Attribute reading failure", msg,
                                         "read_searchBeamsAddresses", tango.ErrSeverity.ERR)
@@ -1747,7 +1747,7 @@ class CspMaster(SKAMaster):
            proxy = self._capability_monitor_proxy[self.TimingBeamsMonitor]
            return proxy.capabilityAddresses
        except tango.DevFailed as tango_err:
            msg = "Attribute reading failure: {}".format(df.args[0].desc)
            msg = "Attribute reading failure: {}".format(tango_err.args[0].desc)
            self.logger.error(msg)
            tango.Except.throw_exception("Attribute reading failure", msg,
                                         "read_timingBeamsAddresses", tango.ErrSeverity.ERR)
@@ -1765,7 +1765,7 @@ class CspMaster(SKAMaster):
            proxy = self._capability_monitor_proxy[self.VlbiBeamsMonitor]
            return proxy.capabilityAddresses
        except tango.DevFailed as tango_err:
            msg = "Attribute reading failure: {}".format(df.args[0].desc)
            msg = "Attribute reading failure: {}".format(tango_err.args[0].desc)
            self.logger.error(msg)
            tango.Except.throw_exception("Attribute reading failure", msg,
                                         "read_vlbiBeamsAddresses", tango.ErrSeverity.ERR)