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

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

src/o/p/openshift_web2py-HEAD/libs/gluon/main.py   openshift_web2py(Download)
        if size < chunk_size:
            data = source.read(size)
            cache_ram.increment(cache_key + ':uploaded', size)
        else:
            data = source.read(chunk_size)
            cache_ram.increment(cache_key + ':uploaded', chunk_size)

src/w/e/web2py-2.1.1/gluon/main.py   web2py(Download)
        if size < chunk_size:
            data = source.read(size)
            cache_ram.increment(cache_key+':uploaded', size)
        else:
            data = source.read(chunk_size)
            cache_ram.increment(cache_key+':uploaded', chunk_size)