(path, value)
Set value at given path
    If the path does not already exist, raise stolos.exceptions.NoNodeError
Set value at given path
    If the path does not already exist, raise stolos.exceptions.NoNodeError
Set value at given path If the path does not already exist raise stolos . exceptions . NoNodeError
def set(path, value):
    """Set value at given path
    If the path does not already exist, raise stolos.exceptions.NoNodeError
    """
    if value == '':
        value = '--STOLOSEMPTYSTRING--'
    rv = raw_client().set(path, value, xx=True)
    if not rv:
        raise stolos.exceptions.NoNodeError("Could not set path: %s" % path)
def set ( path , value ) : if value == '' : value = '--STOLOSEMPTYSTRING--' rv = raw_client ( ) . set ( path , value , xx = True ) if not rv : raise stolos . exceptions . NoNodeError ( "Could not set path: %s" % path )