Browse Source

break line

pull/210/head
Armin Ronacher 14 years ago
parent
commit
4c8c503326
  1. 4
      flask/app.py

4
flask/app.py

@ -718,7 +718,9 @@ class Flask(_PackageBoundObject):
return f
def teardown_request(self, f):
"""Register a function to be run at the end of each request, regardless of whether there was an exception or not."""
"""Register a function to be run at the end of each request,
regardless of whether there was an exception or not.
"""
self.teardown_request_funcs.setdefault(None, []).append(f)
return f

Loading…
Cancel
Save