Squashed commit of the following:

commit 885a2ed057
Author: Jens Langhammer <jens.langhammer@beryju.org>
Date:   Tue Jun 30 12:17:23 2020 +0200

    flows: fix linting error
This commit is contained in:
Jens Langhammer 2020-06-30 12:18:01 +02:00
parent b270fb0742
commit 9613fcde89
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class FlowDebugExecuteView(LoginRequiredMixin, PermissionRequiredMixin, DetailVi
flow: Flow = self.get_object() flow: Flow = self.get_object()
planner = FlowPlanner(flow) planner = FlowPlanner(flow)
planner.use_cache = False planner.use_cache = False
plan = planner.plan(self.request, {PLAN_CONTEXT_PENDING_USER: request.user,},) plan = planner.plan(self.request, {PLAN_CONTEXT_PENDING_USER: request.user})
self.request.session[SESSION_KEY_PLAN] = plan self.request.session[SESSION_KEY_PLAN] = plan
return redirect_with_qs( return redirect_with_qs(
"passbook_flows:flow-executor-shell", self.request.GET, flow_slug=flow.slug, "passbook_flows:flow-executor-shell", self.request.GET, flow_slug=flow.slug,

View File

@ -117,7 +117,7 @@ class FlowExecutorView(View):
render( render(
request, request,
"flows/error.html", "flows/error.html",
{"error": exc, "tb": "".join(format_tb(exc.__traceback__)),}, {"error": exc, "tb": "".join(format_tb(exc.__traceback__))},
), ),
) )
@ -139,7 +139,7 @@ class FlowExecutorView(View):
render( render(
request, request,
"flows/error.html", "flows/error.html",
{"error": exc, "tb": "".join(format_tb(exc.__traceback__)),}, {"error": exc, "tb": "".join(format_tb(exc.__traceback__))},
), ),
) )