From 17254d65a6b4fe11fdca0b65312032a92da32cfd Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Thu, 24 Mar 2022 08:55:53 -0600 Subject: [PATCH] lf_atten_mode_test.py : the script does not need --port except that the script inherits from Realm which requires a port. the --port in the script conflicted with the base args parser so the base args parser will be used. Signed-off-by: Chuck SmileyRekiere --- py-scripts/lf_atten_mod_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py-scripts/lf_atten_mod_test.py b/py-scripts/lf_atten_mod_test.py index 59282b98..6a76ceb5 100755 --- a/py-scripts/lf_atten_mod_test.py +++ b/py-scripts/lf_atten_mod_test.py @@ -70,7 +70,8 @@ def main(): parser.add_argument('-hst', '--host', help='host name', default='192.168.200.12') # basic_argparser contains --port option - parser.add_argument('-port', '--port', help='port name', default=8080) + # Realm requires a port to be passed in + # parser.add_argument('-port', '--port', help='port name', default=8080) parser.add_argument('-atten_serno', '--atten_serno', help='Serial number for requested Attenuator, or \'all\'', default=2222) parser.add_argument('-atten_idx', '--atten_idx', help='Attenuator index eg. For module 1 = 0,module 2 = 1', default=7) parser.add_argument('-atten_val', '--atten_val', help='Requested attenution in 1/10ths of dB (ddB).', default=550)