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/s/n/sneakernet-HEAD/appengine/teamadmin.py   sneakernet(Download)
        cl = CacheLocation()
    else:
        cl = CacheLocation.get(self.request.get("cache-key"))
    cl.team_responsible = team
    cl.description = self.request.get("description")
        elif type=="EXTERN":
            ctype = TYPE_EXTERN_FD
        where = CacheLocation.get(self.request.get("location"))
 
        c = Cache(friendlyName = self.request.get("name"),type=ctype,last_touched=u,space_left=long(self.request.get("freespace")),permanent_location=where,checked_out=True)

src/s/n/sneakernet-HEAD/appengine/cachetalk.py   sneakernet(Download)
    def get(self):
        from cache import CacheLocation
        c = CacheLocation.get(self.request.get("cache"))
        self.response.headers["Content-Type"] = "image/jpeg"
        self.response.out.write(c.image)