From 7d163ac189ef156dcb52a9033a041fce11b8d517 Mon Sep 17 00:00:00 2001 From: Paul Kronenwetter Date: Sun, 8 May 2022 20:41:49 -0400 Subject: [PATCH] Remove excess trailing spaces. --- tnc/data_handler.py | 1 - tnc/main.py | 1 - tnc/rigctl.py | 1 - tnc/rigdummy.py | 1 - 4 files changed, 4 deletions(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 4ebf328d..e392ee2d 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -1564,7 +1564,6 @@ class DATA: if 230 <= mode <= 240: self.log.debug("[TNC] Requesting manual mode --> not yet implemented ") frametype = bytes([mode]) - connection_frame = bytearray(14) connection_frame[:1] = frametype connection_frame[1:4] = static.DXCALLSIGN_CRC diff --git a/tnc/main.py b/tnc/main.py index 06e2ca46..68ae6611 100755 --- a/tnc/main.py +++ b/tnc/main.py @@ -40,7 +40,6 @@ def signal_handler(sig, frame): sock.CLOSE_SIGNAL = True sys.exit(0) - signal.signal(signal.SIGINT, signal_handler) if __name__ == "__main__": diff --git a/tnc/rigctl.py b/tnc/rigctl.py index dd6e202b..b762ba3b 100644 --- a/tnc/rigctl.py +++ b/tnc/rigctl.py @@ -18,7 +18,6 @@ import structlog # set global hamlib version hamlib_version = 0 - class radio: """ """ diff --git a/tnc/rigdummy.py b/tnc/rigdummy.py index 1199994e..28f18ead 100644 --- a/tnc/rigdummy.py +++ b/tnc/rigdummy.py @@ -1,6 +1,5 @@ hamlib_version = 0 - class radio: """ """