From 8a254add0d4f3cb20b8de65a9bcd0ea949464198 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Wed, 30 Jan 2019 08:21:26 +0000 Subject: [PATCH 1/2] Update flake8 from 3.6.0 to 3.7.1 --- requirements_for_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_for_test.txt b/requirements_for_test.txt index 3df3b52d8..2a0a7cee8 100644 --- a/requirements_for_test.txt +++ b/requirements_for_test.txt @@ -8,6 +8,6 @@ pytest-xdist==1.26.0 coveralls==1.5.1 beautifulsoup4==4.7.1 freezegun==0.3.11 -flake8==3.6.0 +flake8==3.7.1 flake8-print==3.1.0 requests-mock==1.5.2 From b760703b26f316d0b0fa21626e674a82ffc56812 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 30 Jan 2019 12:02:45 +0000 Subject: [PATCH 2/2] Fix indentation --- app/main/views/send.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/main/views/send.py b/app/main/views/send.py index b8dd69949..0fa35eaab 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -835,12 +835,12 @@ def get_back_link(service_id, template, step_index): template_id=template.id, ) elif is_current_user_the_recipient() and step_index > 1: - return url_for( - 'main.send_test_step', - service_id=service_id, - template_id=template.id, - step_index=step_index - 1, - ) + return url_for( + 'main.send_test_step', + service_id=service_id, + template_id=template.id, + step_index=step_index - 1, + ) else: return url_for(