PEP8
This commit is contained in:
parent
23fc2286ed
commit
5ffc62a7e1
@ -44,7 +44,8 @@ class AuthorizationMiddleware(wsgi.Middleware):
|
||||
@classmethod
|
||||
def factory(cls, global_config, **local_config):
|
||||
def _factory(app):
|
||||
LOG.debug(_("Created auth middleware with config: %s") % local_config)
|
||||
LOG.debug(_("Created auth middleware with config: %s") %
|
||||
local_config)
|
||||
return cls(app, [TenantBasedAuth()],
|
||||
**local_config)
|
||||
return _factory
|
||||
|
Loading…
x
Reference in New Issue
Block a user