Patch of bottle.py for Python 2.6

This commit is contained in:
Miroslav Stampar
2017-04-07 14:59:24 +02:00
parent 751f423ae0
commit 07208c45ef
3 changed files with 4 additions and 4 deletions

View File

@@ -669,7 +669,7 @@ class Bottle(object):
catchall = DictProperty('config', 'catchall')
__hook_names = 'before_request', 'after_request', 'app_reset', 'config'
__hook_reversed = {'after_request'}
__hook_reversed = set(['after_request'])
@cached_property
def _hooks(self):