commit | 29dc4b68ec91fb070d77320d33ff8bf9142c52d4 | [log] [tgz] |
---|---|---|
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | Tue Apr 18 11:35:36 2023 +0300 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Apr 19 03:27:08 2023 -0400 |
tree | 9ccb4b8b071192972863ea62987286cc24914a05 | |
parent | 186d706c73a4bb1313dbc539e5b7f029ff5ebe0c [diff] |
twister: Cleanup redundant if / else Convert following construction: elif self.options.device_serial or self.options.device_serial_pty: if self.options.device_serial: ... else ... to the construction: elif self.options.device_serial: ... else self.options.device_serial_pty: ... Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>