summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/snapshot.py
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2015-12-18 23:25:05 +0800
committerTang Chen <tangchen@cn.fujitsu.com>2015-12-18 23:25:05 +0800
commitf552302b614e612892714173b45b651caa10371a (patch)
treeb5a9d43e697c7a43a5f27f999295f8b54fa7491e /openstackclient/volume/v2/snapshot.py
parent251939fb366ccaf0822562705e856c5a6a508ac6 (diff)
downloadpython-openstackclient-f552302b614e612892714173b45b651caa10371a.tar.gz
Trivial: Remove useless return from files in image and volume
Change-Id: I3526ecd202d0908d91305a066ad72d03cee794b5
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