From 44f906858deaadd05e0acd16ce2d823c438401e2 Mon Sep 17 00:00:00 2001 From: thurask Date: Thu, 26 Oct 2017 14:16:39 -0400 Subject: [PATCH] filter extraneous 'PRD-' in findprd --- tclcheck_findprd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tclcheck_findprd.py b/tclcheck_findprd.py index 3f76fed..40a7db2 100755 --- a/tclcheck_findprd.py +++ b/tclcheck_findprd.py @@ -43,6 +43,7 @@ with open("prds.txt", "r") as afile: prddict[key].append(value) if args.tocheck is not None: + args.tocheck = args.tocheck.replace("PRD-", "") prdkeys = list(prddict.keys()) for k in prdkeys: if k != args.tocheck: