summaryrefslogtreecommitdiff
path: root/cinderclient/v2/shell.py
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 /cinderclient/v2/shell.py
parentd244dcc014e0f7780fb3bfd4f3b4405e513a415e (diff)
parent020f011ab9abe0f139b3866ffd9514dc7f978955 (diff)
downloadpython-cinderclient-1.3.1.tar.gz
Merge "Fix outdated URLs and some minor fixes"1.3.1
Diffstat (limited to 'cinderclient/v2/shell.py')
-rw-r--r--cinderclient/v2/shell.py6
1 files changed, 2 insertions, 4 deletions
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,