Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2566)

Unified Diff: chrome/common/extensions/docs/server2/object_store.py

Issue 15087006: Docserver: there is only one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: epic rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/object_store.py
diff --git a/chrome/common/extensions/docs/server2/object_store.py b/chrome/common/extensions/docs/server2/object_store.py
index 106dd2d9cffca75db8365d4dfb155df70db1c2de..f33aa913ff5999deb35f644ca3188fc57ce6c56c 100644
--- a/chrome/common/extensions/docs/server2/object_store.py
+++ b/chrome/common/extensions/docs/server2/object_store.py
@@ -25,7 +25,7 @@ class ObjectStore(object):
'''Gets a |Future| with values mapped to |keys| from the object store, with
any keys not in the object store omitted.
'''
- raise NotImplementedError()
+ raise NotImplementedError(self.__class__)
def Set(self, key, value):
'''Sets key -> value in the object store.
@@ -35,7 +35,7 @@ class ObjectStore(object):
def SetMulti(self, items):
'''Atomically sets the mapping of keys to values in the object store.
'''
- raise NotImplementedError()
+ raise NotImplementedError(self.__class__)
def Del(self, key):
'''Deletes a key from the object store.
@@ -45,4 +45,4 @@ class ObjectStore(object):
def DelMulti(self, keys):
'''Deletes |keys| from the object store.
'''
- raise NotImplementedError()
+ raise NotImplementedError(self.__class__)
« no previous file with comments | « chrome/common/extensions/docs/server2/local_renderer.py ('k') | chrome/common/extensions/docs/server2/object_store_creator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698