diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-07-27 13:59:53 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-07-27 13:59:53 -0400 |
| commit | 9a84b87ae04dc5220f95992d9a6c4e210fbc374f (patch) | |
| tree | 2730bd0b68f993b25e14b9758c10480e845bdc54 | |
| parent | 5ca4d3a88f1dd758c4ab6133e26cf2f8b05a8339 (diff) | |
fixed issue with factory for Versions Resource
| -rw-r--r-- | nova/api/openstack/versions.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nova/api/openstack/versions.py b/nova/api/openstack/versions.py index 4d40274b3..c39e9dae7 100644 --- a/nova/api/openstack/versions.py +++ b/nova/api/openstack/versions.py @@ -104,9 +104,7 @@ class Versions(wsgi.Resource): @classmethod def factory(cls, global_config, **local_config): """Paste factory.""" - def _factory(app): - return cls(app, **local_config) - return _factory + return cls() def __init__(self): metadata = { |
