Trivial refactoring

This commit is contained in:
Miroslav Stampar
2020-08-13 16:22:09 +02:00
parent b3f4c6d0fc
commit a42ec7d9cb
4 changed files with 4 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ def _setRequestParams():
def process(match, repl):
retVal = match.group(0)
if not (conf.testParameter and match.group("name") not in [removePostHintPrefix(_) for _ in conf.testParameter]) and match.group("name") == match.group("name").strip('\\'):
if not (conf.testParameter and match.group("name") not in (removePostHintPrefix(_) for _ in conf.testParameter)) and match.group("name") == match.group("name").strip('\\'):
retVal = repl
while True:
_ = re.search(r"\\g<([^>]+)>", retVal)