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

Unified Diff: chrome/common/extensions/docs/server2/file_system.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/file_system.py
diff --git a/chrome/common/extensions/docs/server2/file_system.py b/chrome/common/extensions/docs/server2/file_system.py
index d8998263a04d47a7e9fdbc20b476a95c5cb54fa7..3226ebe8545353e9750615e0f90999b0ef527ae4 100644
--- a/chrome/common/extensions/docs/server2/file_system.py
+++ b/chrome/common/extensions/docs/server2/file_system.py
@@ -51,7 +51,7 @@ class FileSystem(object):
and failing that as latin-1 (some extension docs use latin-1). If
binary=True then the contents will be a str.
'''
- raise NotImplementedError()
+ raise NotImplementedError(self.__class__)
def ReadSingle(self, path, binary=False):
'''Reads a single file from the FileSystem.
@@ -64,7 +64,7 @@ class FileSystem(object):
is a directory, |StatInfo| will have the versions of all the children of
the directory in |StatInfo.child_versions|.
'''
- raise NotImplementedError()
+ raise NotImplementedError(self.__class__)
def GetIdentity(self):
'''The identity of the file system, exposed for caching classes to
@@ -73,7 +73,7 @@ class FileSystem(object):
different to that of a SubversionFileSystem with a base path of /bar, is
different to a LocalFileSystem with a base path of /usr.
'''
- raise NotImplementedError()
+ raise NotImplementedError(self.__class__)
def Walk(self, root):
'''Recursively walk the directories in a file system, starting with root.

Powered by Google App Engine
This is Rietveld 408576698