summaryrefslogtreecommitdiff
path: root/cinderclient/v2/shell.py
diff options
context:
space:
mode:
authorroot <ranasheel2000@gmail.com>2016-03-14 10:28:06 +0530
committerSheel Rana <ranasheel2000@gmail.com>2016-03-14 06:20:32 +0000
commitb83835d618e72ca46a8bef91ce5cf91bc7ffb45b (patch)
tree29152dfb8e1e3b1da4a46c9a6badafe3b795cbdc /cinderclient/v2/shell.py
parent9261687395e94d4f0c8cd21600586a0b6079ff7d (diff)
downloadpython-cinderclient-b83835d618e72ca46a8bef91ce5cf91bc7ffb45b.tar.gz
Removed Extra code
Some extra code is present like unused variables, unreachable code after return statement etc. Same is removed. Change-Id: Ifca88a19625c56ed520321ecbdd91739a304be8e
Diffstat (limited to 'cinderclient/v2/shell.py')
-rw-r--r--cinderclient/v2/shell.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py
index a854ec6..f3725f9 100644
--- a/cinderclient/v2/shell.py
+++ b/cinderclient/v2/shell.py
@@ -2448,7 +2448,6 @@ def do_consisgroup_update(cs, args):
@utils.service_type('volumev2')
def do_cgsnapshot_list(cs, args):
"""Lists all cgsnapshots."""
- cgsnapshots = cs.cgsnapshots.list()
all_tenants = int(os.environ.get("ALL_TENANTS", args.all_tenants))