Browse Source

Whitespace normalization

pull/228/merge
Armin Ronacher 14 years ago
parent
commit
d8fcd4260e
  1. 2
      flask/helpers.py
  2. 1
      tests/flask_tests.py

2
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

1
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

Loading…
Cancel
Save