Skip to content

Commit

Permalink
STY: Fix flake8 issues in epicsArchChecker
Browse files Browse the repository at this point in the history
  • Loading branch information
ZryletTC committed Feb 11, 2022
1 parent 63affc9 commit 989431c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/epicsArchChecker
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def main():
' e.g /reg/g/pcds/dist/pds/xpp/misc/epicsArch.txt',
type=str)
parser.add_argument('-s', '--status', action='store_true',
help='Displays PVs not connected (default:False.)', default=False)
help='Displays PVs not connected (default:False.)',
default=False)
args = parser.parse_args()

fullpath = os.path.abspath(args.filepath)
Expand Down Expand Up @@ -88,7 +89,7 @@ def read_file(filename):
key = line[1:].strip()
keyline = lineNum
elif line[0].isalnum():
pv = line.replace(' ca','').replace(' pva','').strip()
pv = line.replace(' ca', '').replace(' pva', '').strip()
if key == '':
noKeyPVs.append((pv, filename, lineNum))
else:
Expand Down

0 comments on commit 989431c

Please sign in to comment.