summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-08 01:48:36 +0000
committerGerrit Code Review <review@openstack.org>2015-07-08 01:48:36 +0000
commitf860668d7146bc5cd1b9914ea15ad5d6f0dd9585 (patch)
treea6e23f72785d2af8b4b54ed7555f6cf7a6d8af8b
parentd244dcc014e0f7780fb3bfd4f3b4405e513a415e (diff)
parent020f011ab9abe0f139b3866ffd9514dc7f978955 (diff)
downloadpython-cinderclient-1.3.1.tar.gz
Merge "Fix outdated URLs and some minor fixes"1.3.1
-rw-r--r--CONTRIBUTING.md5
-rw-r--r--README.rst10
-rw-r--r--cinderclient/v2/shell.py6
-rw-r--r--cinderclient/v2/volume_backups.py2
4 files changed, 10 insertions, 13 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 76d3915..1b4db29 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,10 +1,9 @@
If you would like to contribute to the development of OpenStack,
-you must follow the steps in the "If you're a developer"
-section of this page: [http://wiki.openstack.org/HowToContribute](http://wiki.openstack.org/HowToContribute#If_you.27re_a_developer:)
+you must follow the steps in this page: [http://docs.openstack.org/infra/manual/developers.html](http://docs.openstack.org/infra/manual/developers.html)
Once those steps have been completed, changes to OpenStack
should be submitted for review via the Gerrit tool, following
-the workflow documented at [http://wiki.openstack.org/GerritWorkflow](http://wiki.openstack.org/GerritWorkflow).
+the workflow documented at [http://docs.openstack.org/infra/manual/developers.html#development-workflow](http://docs.openstack.org/infra/manual/developers.html#development-workflow).
Pull requests submitted through GitHub will be ignored.
diff --git a/README.rst b/README.rst
index 87ca887..2d90b8f 100644
--- a/README.rst
+++ b/README.rst
@@ -9,8 +9,8 @@ See the `OpenStack CLI guide`_ for information on how to use the ``cinder``
command-line tool. You may also want to look at the
`OpenStack API documentation`_.
-.. _OpenStack CLI Guide: http://docs.openstack.org/cli/quick-start/content/
-.. _OpenStack API documentation: http://docs.openstack.org/api/
+.. _OpenStack CLI Guide: http://docs.openstack.org/user-guide/content/ch_cli.html
+.. _OpenStack API documentation: http://developer.openstack.org/api-ref.html
The project is hosted on `Launchpad`_, where bugs can be filed. The code is
hosted on `Github`_. Patches must be submitted using `Gerrit`_, *not* Github
@@ -20,11 +20,11 @@ pull requests.
.. _Launchpad: https://launchpad.net/python-cinderclient
.. _Gerrit: http://docs.openstack.org/infra/manual/developers.html#development-workflow
-This code a fork of `Jacobian's python-cloudservers`__ If you need API support
+This code is a fork of `Jacobian's python-cloudservers`__. If you need API support
for the Rackspace API solely or the BSD license, you should use that repository.
python-cinderclient is licensed under the Apache License like the rest of OpenStack.
-__ http://github.com/jacobian/python-cloudservers
+__ https://github.com/jacobian-archive/python-cloudservers
.. contents:: Contents:
:local:
@@ -110,7 +110,7 @@ You'll find complete documentation on the shell by running
list-extensions List all the os-api extensions that are available.
Optional arguments:
- -d, --debug Print debugging output
+ -d, --debug Print debugging output
--os-username <auth-user-name>
Defaults to env[OS_USERNAME].
--os-password <auth-password>
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py
index 25c205a..a85d77f 100644
--- a/cinderclient/v2/shell.py
+++ b/cinderclient/v2/shell.py
@@ -1903,11 +1903,9 @@ def do_manage(cs, args):
# dictionary so that it is consistent with what the user specified on the
# CLI.
- if hasattr(args, 'source_name') and \
- args.source_name is not None:
+ if hasattr(args, 'source_name') and args.source_name is not None:
ref_dict['source-name'] = args.source_name
- if hasattr(args, 'source_id') and \
- args.source_id is not None:
+ if hasattr(args, 'source_id') and args.source_id is not None:
ref_dict['source-id'] = args.source_id
volume = cs.volumes.manage(host=args.host,
diff --git a/cinderclient/v2/volume_backups.py b/cinderclient/v2/volume_backups.py
index 6a4fb95..26a6b22 100644
--- a/cinderclient/v2/volume_backups.py
+++ b/cinderclient/v2/volume_backups.py
@@ -94,7 +94,7 @@ class VolumeBackupManager(base.ManagerWithFind):
"""Export volume backup metadata record.
:param backup_service: Backup service to use for importing the backup
- :param backup_urlBackup URL for importing the backup metadata
+ :param backup_url: Backup URL for importing the backup metadata
:rtype: :class:`VolumeBackup`
"""
body = {'backup-record': {'backup_service': backup_service,