]> git.ipfire.org Git - thirdparty/tornado.git/commit
Avoid references to self.settings in StaticFileHandler instance methods.
authorBen Darnell <ben@bendarnell.com>
Sat, 25 May 2013 22:20:01 +0000 (18:20 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 25 May 2013 22:28:54 +0000 (18:28 -0400)
commit7b03cd62fb11ea708d0a15530a1bae83769d00c0
tree58e0d2dd0cc58212b0e8be896ebff25ba812724c
parent9c4a59e1a484f6da9fcd73a96d0a7c204beb8296
Avoid references to self.settings in StaticFileHandler instance methods.

This fixes support for secondary StaticFileHandlers configured separately
from the default static_path.

Changed the interfaces of some new-to-3.1 methods to avoid passing in
settings to class methods used in both class and instance contexts.

Closes #796.
tornado/test/web_test.py
tornado/web.py