Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/i/ciel-HEAD/src/python/ciel/runtime/util/rebuild_index.py   ciel(Download)
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
from optparse import OptionParser
from ciel.runtime.util.load import get_worker_netlocs,\
    upload_string_to_targets, select_targets
import httplib2
 
        targets = select_targets(workers, options.replication)
        upload_string_to_targets(simplejson.dumps(new_index, cls=SWReferenceJSONEncoder), index_name, targets)
        for target in targets:
            print 'swbs://%s/%s' % (target, index_name)