From aa71300a6dc76f150d597aba0651ddefd0539060 Mon Sep 17 00:00:00 2001 From: Cindia-blue Date: Wed, 30 Dec 2015 13:10:42 +0800 Subject: [PATCH] Fix redundent paginated in senlinclient This patch fixes argument of paginated to resolve TypeError when list profile type. Change-Id: I1144e994a46cc542c5ba9f1e786f515c0696c5fa Closes-bug: #1530019 --- senlinclient/v1/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index 39c1faa5..5d558542 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -43,7 +43,7 @@ def do_profile_type_list(sc, args=None): :param sc: Instance of senlinclient. :param args: Additional command line arguments, if any. """ - types = sc.conn.cluster.profile_types(paginated=False) + types = sc.conn.cluster.profile_types() utils.print_list(types, ['name'], sortby_index=0)