diff options
Diffstat (limited to 'openstack/common/middleware/base.py')
-rw-r--r-- | openstack/common/middleware/base.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openstack/common/middleware/base.py b/openstack/common/middleware/base.py index 7236731..2099549 100644 --- a/openstack/common/middleware/base.py +++ b/openstack/common/middleware/base.py @@ -28,11 +28,7 @@ class Middleware(object): @classmethod def factory(cls, global_conf, **local_conf): """Factory method for paste.deploy.""" - - def filter(app): - return cls(app) - - return filter + return cls def __init__(self, application): self.application = application |