def uri(value):
 if _match_forbidden_in_uri(value):
  value = string(value)
 return (u'url(%s)' % value)

def uri ( value ) : if _match_forbidden_in_uri ( value ) : value = string ( value ) return ( u'url(%s)' % value )
serialize value by adding url() and with quotes if needed e .