#NEWLINE# def show_container_menu( containers ) : #NEWLINE# #INDENT# do_format = ( lambda c : args . item_format . format ( workspace = c . workspace ( ) , container = c ) ) #NEWLINE# items = [ do_format ( c ) for c in containers ] #NEWLINE# items . sort ( ) #NEWLINE# menu_result = show_menu ( items , args . command ) #NEWLINE# for c in containers : #NEWLINE# #INDENT# if ( do_format ( c ) == menu_result ) : #NEWLINE# #INDENT# return containers