def RegisterStub(self, service, stub):
    # AppScale
    # This is commented out because the blobstore server uses 
    # the stub map and it re-registers the service that 
    # already exists. It was written with the hope of being 
    # multithreaded, but there is only one datastore entry
    # when uploading multiple blobs. 
    # assert not self.__stub_map.has_key(service), repr(service)
    self.ReplaceStub(service, stub)
Register the provided stub for the specified service.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/apiproxy_stub_map.py/APIProxyStubMap.RegisterStub