From 9036a0647dfaeada2363eb76b06bfedeea99abb6 Mon Sep 17 00:00:00 2001 From: "Jay Newlin (PW)" Date: Thu, 20 Dec 2018 14:08:38 -0500 Subject: [PATCH] This "inline if" can be ignored for now --- atst/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atst/filters.py b/atst/filters.py index c7830210..11906c30 100644 --- a/atst/filters.py +++ b/atst/filters.py @@ -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