From 9613fcde893a750040047926daf87dc5cded9d06 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 30 Jun 2020 12:18:01 +0200 Subject: [PATCH] Squashed commit of the following: commit 885a2ed05737b650ef7fe86374e14254227402fe Author: Jens Langhammer Date: Tue Jun 30 12:17:23 2020 +0200 flows: fix linting error --- passbook/admin/views/flows.py | 2 +- passbook/flows/views.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/passbook/admin/views/flows.py b/passbook/admin/views/flows.py index 2ec591c15..0585c11b7 100644 --- a/passbook/admin/views/flows.py +++ b/passbook/admin/views/flows.py @@ -62,7 +62,7 @@ class FlowDebugExecuteView(LoginRequiredMixin, PermissionRequiredMixin, DetailVi flow: Flow = self.get_object() planner = FlowPlanner(flow) 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 return redirect_with_qs( "passbook_flows:flow-executor-shell", self.request.GET, flow_slug=flow.slug, diff --git a/passbook/flows/views.py b/passbook/flows/views.py index 1fe969f4a..499e7413c 100644 --- a/passbook/flows/views.py +++ b/passbook/flows/views.py @@ -117,7 +117,7 @@ class FlowExecutorView(View): render( request, "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( request, "flows/error.html", - {"error": exc, "tb": "".join(format_tb(exc.__traceback__)),}, + {"error": exc, "tb": "".join(format_tb(exc.__traceback__))}, ), )