pep8
This commit is contained in:
parent
f89b8ca22f
commit
926804eb86
@ -42,7 +42,7 @@ class CatchErrorMiddleware(object):
|
|||||||
def filter_factory(global_conf, **local_conf):
|
def filter_factory(global_conf, **local_conf):
|
||||||
conf = global_conf.copy()
|
conf = global_conf.copy()
|
||||||
conf.update(local_conf)
|
conf.update(local_conf)
|
||||||
|
|
||||||
def except_filter(app):
|
def except_filter(app):
|
||||||
return CatchErrorMiddleware(app, conf)
|
return CatchErrorMiddleware(app, conf)
|
||||||
return except_filter
|
return except_filter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user