#NEWLINE# def input( self , message , **unused_kwargs ) : #NEWLINE# #INDENT# "Accept input from the user.\n\n        :param str message: message to display to the user\n        :param dict _kwargs: absorbs default / cli_args\n\n        :returns: tuple of (`code`, `input`) where\n            `code` - str display exit code\n            `input` - str of the user's input\n        :rtype: tuple\n\n        " #NEWLINE# ans = raw_input ( textwrap . fill ( ( "%s (Enter 'c' to cancel): " % message ) , 80 ) ) #NEWLINE# if ( ( message == 'c' ) or ( ans == 'C' ) ) : #NEWLINE# #INDENT# return ( CANCEL , '-1' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( OK , ans )