#NEWLINE# def show( i ) : #NEWLINE# #INDENT# '\n\n    Input:  {}\n\n    Output: {\n              return       - return code =  0, if successful\n                                         >  0, if error\n              (error)      - error text if return > 0\n            }\n\n    ' #NEWLINE# o = i . get ( 'out' , '' ) #NEWLINE# i [ 'status' ] = '' #NEWLINE# r = status ( i ) #NEWLINE# if ( r [ 'return' ] > 0 ) : #NEWLINE# #INDENT# return r #NEWLINE# #UNINDENT# s = r [ 'status' ] #NEWLINE# if ( s == 'yes' ) : #NEWLINE# #INDENT# sx = 'on' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# sx = 'off' #NEWLINE# #UNINDENT# if ( o == 'con' ) : #NEWLINE# #INDENT# ck . out ( ( 'Indexing status: ' + sx ) ) #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# 'return' : 0 , #NEWLINE# #UNINDENT# }