#NEWLINE# def host_config_version_error( param , version , less_than = True ) : #NEWLINE# #INDENT# operator = ( '<' if less_than else '>' ) #NEWLINE# error_msg = '{0} param is not supported in API versions {1} {2}' #NEWLINE# return errors . InvalidVersion ( error_msg . format ( error_msg , operator , version ) )