#NEWLINE# def checklist( self , message , tags , default_status = True , **unused_kwargs ) : #NEWLINE# #INDENT# 'Display a checklist.\n\n        :param str message: Message to display to user\n        :param list tags: `str` tags to select, len(tags) > 0\n        :param bool default_status: Not used for FileDisplay\n        :param dict _kwargs: absorbs default / cli_args\n\n        :returns: tuple of (`code`, `tags`) where\n            `code` - str display exit code\n            `tags` - list of selected tags\n        :rtype: tuple\n\n        ' #NEWLINE# while True : #NEWLINE# #INDENT# self . _print_menu ( message , tags ) #NEWLINE# ( code , ans ) = self . input ( 'Select the appropriate numbers separated by commas and/or spaces' ) #NEWLINE# if ( code == OK ) : #NEWLINE# #INDENT# indices = separate_list_input ( ans ) #NEWLINE# selected_tags = self . _scrub_checklist_input ( indices , tags ) #NEWLINE# if selected_tags : #NEWLINE# #INDENT# return ( code , selected_tags ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . outfile . write ( ( '** Error - Invalid selection **%s' % os . linesep ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return ( self , [ ] )