#NEWLINE# def one_of_two_strings( stringa = None , stringb = None , desc = 'Input' ) : #NEWLINE# #INDENT# if ( ( stringb and isinstance ( stringb , six . string_types ) ) or ( stringa and isinstance ( stringa , six . string_types ) ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise Exception ( ( 'No %s provided' % desc ) )