summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/snapshot.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-12-28 05:37:53 +0000
committerGerrit Code Review <review@openstack.org>2015-12-28 05:37:53 +0000
commitf5604366f0c75019dad750dfb8098d4fac960a7e (patch)
tree1d85e34c0a70afa545443becc80136519c8746f1 /openstackclient/volume/v2/snapshot.py
parent8d718e9d6796b0ff115698a19f330113a80d09ef (diff)
parentf552302b614e612892714173b45b651caa10371a (diff)
downloadpython-openstackclient-f5604366f0c75019dad750dfb8098d4fac960a7e.tar.gz
Merge "Trivial: Remove useless return from files in image and volume"
Diffstat (limited to 'openstackclient/volume/v2/snapshot.py')
-rw-r--r--openstackclient/volume/v2/snapshot.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/openstackclient/volume/v2/snapshot.py b/openstackclient/volume/v2/snapshot.py
index aa7630ae..f939a553 100644
--- a/openstackclient/volume/v2/snapshot.py
+++ b/openstackclient/volume/v2/snapshot.py
@@ -97,7 +97,6 @@ class DeleteSnapshot(command.Command):
snapshot_id = utils.find_resource(
volume_client.volume_snapshots, snapshot).id
volume_client.volume_snapshots.delete(snapshot_id)
- return
class ListSnapshot(lister.Lister):
@@ -217,7 +216,6 @@ class SetSnapshot(command.Command):
volume_client.volume_snapshots.set_metadata(snapshot.id,
parsed_args.property)
volume_client.volume_snapshots.update(snapshot.id, **kwargs)
- return
class ShowSnapshot(show.ShowOne):
@@ -280,4 +278,3 @@ class UnsetSnapshot(command.Command):
)
else:
self.app.log.error("No changes requested\n")
- return