Merge pull request #507 from dod-ccpo/jrn_ignore_non_branch
Ignore "inline if" of filters.py
This commit is contained in:
commit
6180c86c92
@ -34,7 +34,7 @@ def getOptionLabel(value, options):
|
|||||||
if hasattr(value, "value"):
|
if hasattr(value, "value"):
|
||||||
value = value.name
|
value = value.name
|
||||||
try:
|
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:
|
except StopIteration:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user