This "inline if" can be ignored for now

This commit is contained in:
Jay Newlin (PW) 2018-12-20 14:08:38 -05:00
parent 8357a97fee
commit 9036a0647d

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