Improve string formatting v5 (#33697)
* Improve string formatting v5 * Address review comments
This commit is contained in:
1 parent
39336d3ea3
commit
fca90a8ddc
46 files changed
+221
-252
No files matched your search
@@ -179,9 +179,7 @@ class FlowManager(abc.ABC):
|
||||
RESULT_TYPE_ABORT,
|
||||
RESULT_TYPE_EXTERNAL_STEP_DONE,
|
||||
):
|
||||
raise ValueError(
|
||||
"Handler returned incorrect type: {}".format(result["type"])
|
||||
)
|
||||
raise ValueError(f"Handler returned incorrect type: {result['type']}")
|
||||
|
||||
if result["type"] in (
|
||||
RESULT_TYPE_FORM,
|
||||
|
||||
Reference in new issue
Block a user