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/producer_stat.py   ciel(Download)
 
from ciel.runtime.pycurl_rpc import post_string_noreturn
from ciel.runtime.block_store import filename
from ciel.runtime.producer import get_producer_for_id
 
            else:
                try:
                    st = os.stat(filename(id))
                    post = simplejson.dumps({"bytes": st.st_size, "done": True})
                except OSError: