diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2013-07-11 22:40:24 -0500 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2013-07-12 11:07:33 -0500 |
| commit | 1a0d5ccc68f65394292992b48afe20241e89e7b8 (patch) | |
| tree | e28cadeb264d0b2701bc20ea5ef2d636ef991cec /openstackclient/compute/v2/keypair.py | |
| parent | f0d3bf85d8102b9bdfe83852588f9bdc895f32c6 (diff) | |
| download | python-openstackclient-1a0d5ccc68f65394292992b48afe20241e89e7b8.tar.gz | |
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
Diffstat (limited to 'openstackclient/compute/v2/keypair.py')
| -rw-r--r-- | openstackclient/compute/v2/keypair.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openstackclient/compute/v2/keypair.py b/openstackclient/compute/v2/keypair.py index 7987574f..65f3679b 100644 --- a/openstackclient/compute/v2/keypair.py +++ b/openstackclient/compute/v2/keypair.py @@ -30,7 +30,6 @@ from openstackclient.common import utils class CreateKeypair(show.ShowOne): """Create keypair command""" - api = "compute" log = logging.getLogger(__name__ + '.CreateKeypair') def get_parser(self, prog_name): @@ -81,7 +80,6 @@ class CreateKeypair(show.ShowOne): class DeleteKeypair(command.Command): """Delete keypair command""" - api = "compute" log = logging.getLogger(__name__ + '.DeleteKeypair') def get_parser(self, prog_name): @@ -103,7 +101,6 @@ class DeleteKeypair(command.Command): class ListKeypair(lister.Lister): """List keypair command""" - api = "compute" log = logging.getLogger(__name__ + ".ListKeypair") def take_action(self, parsed_args): @@ -124,7 +121,6 @@ class ListKeypair(lister.Lister): class ShowKeypair(show.ShowOne): """Show keypair command""" - api = 'compute' log = logging.getLogger(__name__ + '.ShowKeypair') def get_parser(self, prog_name): |
