From f36f07d7798bc1681e4b016c364a9f96ceb42f09 Mon Sep 17 00:00:00 2001 From: miaohb Date: Fri, 9 Sep 2016 15:35:29 +0800 Subject: [PATCH] Fix error in do_profile_type_list Related-Bug:#1621766 Unrelated message in the help information of profile_type_list Change-Id: I8523a4bf427210cd22e246b20169c29ce945cdeb --- senlinclient/v1/shell.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index 4bb2208a..125db0a2 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -53,11 +53,7 @@ def do_build_info(service, args=None): def do_profile_type_list(service, args=None): - """List the available profile types. - - :param sc: Instance of senlinclient. - :param args: Additional command line arguments, if any. - """ + """List the available profile types.""" show_deprecated('senlin profile-type-list', 'openstack cluster profile type list') types = service.profile_types()