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

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

src/t/r/Trail-HEAD/src/CacheMgr.py   Trail(Download)
from Cache import SharedItem, SharedAPI
from Assert import Assert
import urlparse
import string
import os
##              if reload:
##                  self.active[key].reset()
                return SharedAPI(self.active[key])
            return self.open_get(key, url, mode, params, reload, data)
        elif mode == 'POST':
    def activate(self,item):
        """Adds a SharedItem to the shared object list and returns SharedAPI.
        self.active[item.key] = item
        return SharedAPI(self.active[item.key])