Skip to content

Commit

Permalink
Merge pull request #119 from skliper/fix118-resolve-lgtm-issues
Browse files Browse the repository at this point in the history
Fix #118, Resolve LGTM warnings
  • Loading branch information
astrogeco authored Aug 5, 2020
2 parents 9b05270 + c377629 commit d6bcef6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
8 changes: 0 additions & 8 deletions Subsystems/cmdGui/Parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
import getopt
import pickle
import re
import shlex
import subprocess
import sys
from pathlib import Path

Expand Down Expand Up @@ -68,12 +66,6 @@ def ProcessSendButton(self):
self.mcu = MiniCmdUtil(pageAddress, pagePort, pageEndian, pagePktId,
cmdCode, param_string.strip())
sendSuccess = self.mcu.sendPacket()
# launch_string = (
# f'{ROOTDIR.parent}/cmdUtil/cmdUtil --host={pageAddress} '
# f'--port={pagePort} --pktid={pagePktId} --endian={pageEndian} '
# f'--cmdcode={cmdCode} {param_string.strip()}')result
# cmd_args = shlex.split(launch_string)
# subprocess.Popen(cmd_args)
if sendSuccess:
self.status_box.setText('Command sent!')
else:
Expand Down
5 changes: 0 additions & 5 deletions Subsystems/cmdGui/UdpCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ def __init__(self):
self.setWindowTitle(pageTitle)
self.mcu = None

# for j in range(self.tblCommands.rowCount()):
# btn = self.tblCommands.cellWidget(j, 1)
# btn.clicked.connect(
# lambda _, x=j: self.ProcessSendButtonGeneric(x))

#
# Determines if command requires parameters
#
Expand Down
5 changes: 0 additions & 5 deletions Subsystems/tlmGUI/TelemetrySystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ def __init__(self):
self.pktCount = 0
self.subscription = None

# for k in range(21):
# pushButton = getattr(self, f"pushButton_{k}")
# pushButton.clicked.connect(
# lambda _, x=k: self.ProcessButtonGeneric(x))

#
# convert a string of binary bytes to ascii hex
#
Expand Down

0 comments on commit d6bcef6

Please sign in to comment.