def _clean_object_name(name):
 return (urlquote(name, safe='') if name else None)

def _clean_object_name ( name ) : return ( urlquote ( name , safe = '' ) if name else None )
return the url encoded name .