From f051418df8c0e745c03575741a2e3027c5b03ff2 Mon Sep 17 00:00:00 2001 From: Yun Mao Date: Sun, 28 Oct 2012 21:10:57 -0400 Subject: Fix _setup_routes() signature in APIRouter Fix the function _setup_routes() signature in the base class APIRouter to match the subclasses. Change-Id: Ibb98c3c1fc28e85c56bb2855371c4bf03f57b1f7 --- nova/api/openstack/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/api/openstack/__init__.py b/nova/api/openstack/__init__.py index 67ea6e1b5..4808f9ce9 100644 --- a/nova/api/openstack/__init__.py +++ b/nova/api/openstack/__init__.py @@ -189,5 +189,5 @@ class APIRouter(base_wsgi.Router): resource.register_actions(controller) resource.register_extensions(controller) - def _setup_routes(self, mapper, ext_mgr): - raise NotImplementedError + def _setup_routes(self, mapper, ext_mgr, init_only): + raise NotImplementedError() -- cgit