From d8fcd4260e9194a03267ddb913a8b5d7cf0948d2 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 18 Apr 2011 23:19:59 +0200 Subject: [PATCH] Whitespace normalization --- flask/helpers.py | 2 +- tests/flask_tests.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flask/helpers.py b/flask/helpers.py index 9d9af4bf..e04b7f28 100644 --- a/flask/helpers.py +++ b/flask/helpers.py @@ -390,7 +390,7 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False, def safe_join(directory, filename): """Safely join `directory` and `filename`. - + :param directory: the base directory. :param filename: the untrusted filename relative to that directory. :raises: :class:`~werkzeug.exceptions.NotFound` if the retsulting path diff --git a/tests/flask_tests.py b/tests/flask_tests.py index 19168180..265f89f1 100644 --- a/tests/flask_tests.py +++ b/tests/flask_tests.py @@ -642,6 +642,7 @@ class BasicFunctionalityTestCase(unittest.TestCase): app.config.update( SERVER_NAME='localhost.localdomain:5000' ) + @app.route('/') def index(): return None