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

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

src/s/n/sneakernet-HEAD/appengine/teamadmin.py   sneakernet(Download)
 
        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)
        c.put()
        self.response.out.write("OK")
class InviteHandler(webapp.RequestHandler):

src/s/n/sneakernet-HEAD/appengine/cachetalk.py   sneakernet(Download)
        logging.info("No cached named %s, making a new one" % cname)
        c = Cache(friendlyName = cname,type=TYPE_COMPUTER,last_touched=u,space_left=-1,person_responsible=u)
        c.put()
    if not can_operate_on(c,u):
        raise Exception("You're not permitted to sync this cache.")