diff options
| author | Josh Kearney <josh@jk0.org> | 2013-01-31 13:31:41 -0600 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2013-01-31 13:31:41 -0600 |
| commit | b26cb5bf683e7f4f03d9704524a188b76ac5e9b9 (patch) | |
| tree | f059ddb3b7e15f50d722cf1fbd2b0eaf8242b1a4 /openstackclient/compute/client.py | |
| parent | aa4f12aec1d13d02df2ecc2710d85ebd90d6dfe7 (diff) | |
| download | python-openstackclient-b26cb5bf683e7f4f03d9704524a188b76ac5e9b9.tar.gz | |
Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc.
Made all the necessary changes to pass new PEP8 standards.
Also cleaned up docstrings to conform to the HACKING stanards.
Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
Diffstat (limited to 'openstackclient/compute/client.py')
| -rw-r--r-- | openstackclient/compute/client.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py index e1db22c8..f7ebfe3e 100644 --- a/openstackclient/compute/client.py +++ b/openstackclient/compute/client.py @@ -27,13 +27,11 @@ API_VERSIONS = { def make_client(instance): - """Returns a compute service client. - """ + """Returns a compute service client.""" compute_client = utils.get_client_class( API_NAME, instance._api_version[API_NAME], - API_VERSIONS, - ) + API_VERSIONS) LOG.debug('instantiating compute client: %s' % compute_client) client = compute_client( username=instance._username, @@ -49,8 +47,7 @@ def make_client(instance): extensions=[], service_type=API_NAME, # FIXME(dhellmann): what is service_name? - service_name='', - ) + service_name='') # Populate the Nova client to skip another auth query to Identity if instance._url: |
