Commit 802d122e authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

fix_subarray_on_command: fix lint errors.

parent 6c5605ea
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -626,7 +626,7 @@ class CspMaster(SKAMaster):
                        self.logger.error(msg[0])
                    elif result_code == ResultCode.OK:
                        self.logger.info(msg[0])
        except (TypeError, ArgumentError) as ex:
        except Exception:
            self.logger.error("TANGO Group command failed")

    def _se_write_adminMode(self, value, device_fqdn):
+2 −2
Original line number Diff line number Diff line
@@ -799,7 +799,7 @@ class CspSubarray(SKASubarray):
                self.logger.info("Create group!!")
                for device in device_list:
                    sc_group.add(device)
            except (TypeError, ArgumentError) as ex:
            except Exception:
                self.logger.error("TANGO Group command failed")
                return (ResultCode.FAILED, "EndScan Command FAILED")
            self.logger.info("Issue EndScan")
@@ -1136,7 +1136,7 @@ class CspSubarray(SKASubarray):
                sc_group = tango.Group("GoToIdleGroup")
                for device in device_list:
                    sc_group.add(device)
            except (TypeError, ArgumentError) as ex:
            except Exception:
                self.logger.error("TANGO Group command failed")
                return (ResultCode.FAILED, "GoToIDle Command FAILED")
            self.logger.info("Issue GoToIdle")