Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/x/o/xodb-HEAD/xodb/net/worker.py   xodb(Download)
 
    logging.basicConfig(filename=log_file % name, level=logging.DEBUG)
    db = xodb.open(db_path, writable=False)
    w = worker_cls(name, worker_url, db)
    logging.debug('Running worker on %s' % worker_url)

src/x/o/xodb-0.6.2/xodb/net/worker.py   xodb(Download)
 
    logging.basicConfig(filename=log_file % name, level=logging.DEBUG)
    db = xodb.open(db_path, writable=False)
    w = worker_cls(name, worker_url, db)
    logging.debug('Running worker on %s' % worker_url)

src/x/o/xodb-HEAD/tests/test_xapian.py   xodb(Download)
        writer.flush()
 
        reader = xodb.open(path, writable=False, replicated=True)
        assert len(reader) == 1