def colordiff(a, b, highlight='text_highlight'):
 if config['ui']['color']:
  return _colordiff(a, b, highlight)
 else:
  return (six.text_type(a), six.text_type(b))

def colordiff ( a , b , highlight = 'text_highlight' ) : if config [ 'ui' ] [ 'color' ] : return _colordiff ( a , b , highlight ) else : return ( six . text_type ( a ) , six . text_type ( b ) )
colorize differences between two values if color is enabled .