File tree Expand file tree Collapse file tree
openstackclient/identity/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -342,21 +342,21 @@ def take_action(self, parsed_args):
342342 user = self .app .client_manager .auth_ref .user_id
343343
344344 if user :
345- data = identity_client .user_projects (user , ** kwargs )
345+ data = list ( identity_client .user_projects (user , ** kwargs ) )
346346 else :
347347 try :
348- data = identity_client .projects (** kwargs )
348+ data = list ( identity_client .projects (** kwargs ) )
349349 except sdk_exc .ForbiddenException :
350350 # NOTE(adriant): if no filters, assume a forbidden is non-admin
351351 # wanting their own project list.
352352 if not kwargs :
353353 user = self .app .client_manager .auth_ref .user_id
354- data = identity_client .user_projects (user )
354+ data = list ( identity_client .user_projects (user ) )
355355 else :
356356 raise
357357
358358 if parsed_args .sort :
359- data = utils .sort_items (data , parsed_args .sort )
359+ data = list ( utils .sort_items (data , parsed_args .sort ) )
360360
361361 return (
362362 column_headers ,
You can’t perform that action at this time.
0 commit comments