Permalink
Browse files

break line

  • Loading branch information...
1 parent fd0862c commit 4c8c503326f8b26787945082007a294dff4c255b @mitsuhiko mitsuhiko committed Mar 18, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 flask/app.py
View
4 flask/app.py
@@ -718,7 +718,9 @@ def after_request(self, f):
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

0 comments on commit 4c8c503

Please sign in to comment.