Remove memcache setup from interactive.py script
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 12 Sep 2009 17:10:39 +0200
changeset 2907 fbf0d63f37b9
parent 2906 6fb53ed7aff4
child 2908 391d57b91615
Remove memcache setup from interactive.py script Memcache integration with remote_api has been added in the latest AppEngine release, so we no longer have to use the stub.
scripts/interactive.py
--- a/scripts/interactive.py	Sat Sep 12 14:42:37 2009 +0200
+++ b/scripts/interactive.py	Sat Sep 12 17:10:39 2009 +0200
@@ -98,7 +98,6 @@
   """
 
   from google.appengine.api import apiproxy_stub_map
-  from google.appengine.api.memcache import memcache_stub
   from google.appengine.ext import db
   from google.appengine.ext.remote_api import remote_api_stub
 
@@ -113,8 +112,6 @@
     host = '%s.appspot.com' % app_id
 
   remote_api_stub.ConfigureRemoteDatastore(app_id, '/remote_api', auth_func, host)
-  apiproxy_stub_map.apiproxy.RegisterStub('memcache',
-      memcache_stub.MemcacheServiceStub())
 
   context['deepFetch'] = deepFetch