Merge pull request #507 from dod-ccpo/jrn_ignore_non_branch

Ignore "inline if" of filters.py
This commit is contained in:
Jay R. Newlin (PromptWorks) 2018-12-20 14:57:06 -05:00 committed by GitHub
commit 6180c86c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ def getOptionLabel(value, options):
if hasattr(value, "value"):
value = value.name
try:
return next(tup[1] for tup in options if tup[0] == value)
return next(tup[1] for tup in options if tup[0] == value) # pragma: no branch
except StopIteration:
return