Commits

Anonymous committed bd58c63

Ignore NameError.

Comments (0)

Files changed (1)

kay/ext/testutils/gae_test_base.py

     _apiproxy.RegisterStub('mail', mail_stub.MailServiceStub()) 
     _apiproxy.RegisterStub('memcache', memcache_stub.MemcacheServiceStub()) 
     _apiproxy.RegisterStub('taskqueue', taskqueue_stub.TaskQueueServiceStub()) 
-    _apiproxy.RegisterStub('images', images_stub.ImagesServiceStub())
+    try:
+      _apiproxy.RegisterStub('images', images_stub.ImagesServiceStub())
+    except NameError:
+      pass
 
     return _apiproxy