From 2752055281e4117d42288cc39abae7121d538a48 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 29 Nov 2017 22:17:48 +0100 Subject: [PATCH] Fix lint in webserver_sub.py --- tests/end2end/fixtures/webserver_sub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/end2end/fixtures/webserver_sub.py b/tests/end2end/fixtures/webserver_sub.py index 4ec929203..6e0b740ba 100644 --- a/tests/end2end/fixtures/webserver_sub.py +++ b/tests/end2end/fixtures/webserver_sub.py @@ -62,7 +62,7 @@ def send_data(path): data_dir = os.path.join(basedir, 'data') print(basedir) if os.path.isdir(os.path.join(data_dir, path)): - path = path + '/index.html' + path += '/index.html' return flask.send_from_directory(data_dir, path) @@ -215,7 +215,7 @@ def drip(): def generate_bytes(): for _ in range(numbytes): - yield u"*".encode('utf-8') + yield "*".encode('utf-8') time.sleep(pause) response = flask.Response(generate_bytes(), headers={