From 1a0d5ccc68f65394292992b48afe20241e89e7b8 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Thu, 11 Jul 2013 22:40:24 -0500 Subject: Remove api = apiName calls from each method As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19 --- openstackclient/compute/v2/hypervisor.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'openstackclient/compute/v2/hypervisor.py') diff --git a/openstackclient/compute/v2/hypervisor.py b/openstackclient/compute/v2/hypervisor.py index 35866aec..ad69d328 100644 --- a/openstackclient/compute/v2/hypervisor.py +++ b/openstackclient/compute/v2/hypervisor.py @@ -26,7 +26,6 @@ from openstackclient.common import utils class ListHypervisor(lister.Lister): """List hypervisor command""" - api = "compute" log = logging.getLogger(__name__ + ".ListHypervisor") def get_parser(self, prog_name): @@ -60,7 +59,6 @@ class ListHypervisor(lister.Lister): class ShowHypervisor(show.ShowOne): """Show hypervisor command""" - api = "compute" log = logging.getLogger(__name__ + ".ShowHypervisor") def get_parser(self, prog_name): -- cgit v1.2.1