break line

This commit is contained in:
Armin Ronacher 2011-03-18 09:00:24 +01:00
parent fd0862c77d
commit 4c8c503326

View file

@ -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