scripts/interactive.py
changeset 2879 cb0f9b4646aa
parent 2871 e440e94a874b
child 2907 fbf0d63f37b9
--- a/scripts/interactive.py	Mon Sep 07 20:27:37 2009 +0200
+++ b/scripts/interactive.py	Mon Sep 07 20:36:14 2009 +0200
@@ -97,6 +97,8 @@
     context: locals that should be added to the shell
   """
 
+  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
 
@@ -111,6 +113,8 @@
     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