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

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

Issue 13896007: Devserver: run the cron over the examples. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try again to avoid .svn Created 7 years, 8 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/offline_file_system.py
diff --git a/chrome/common/extensions/docs/server2/offline_file_system.py b/chrome/common/extensions/docs/server2/offline_file_system.py
index 984bb2a5a0c469df085ad0af8fdca447bfd90400..281ef5dd3fc8bea9f01c8f1d195a0e88ca06b699 100644
--- a/chrome/common/extensions/docs/server2/offline_file_system.py
+++ b/chrome/common/extensions/docs/server2/offline_file_system.py
@@ -12,10 +12,10 @@ class OfflineFileSystem(FileSystem):
self._cls = cls
def Read(self, paths, binary=False):
- raise FileNotFoundError(paths)
+ raise FileNotFoundError('File system is offline, cannot read %s' % paths)
def Stat(self, path):
- raise FileNotFoundError(path)
+ raise FileNotFoundError('File system is offline, cannot read %s' % path)
# HACK: despite GetName/GetVersion being @classmethods, these need to be
# instance methods so that we can grab the name and version from the class
« no previous file with comments | « chrome/common/extensions/docs/server2/local_file_system.py ('k') | chrome/common/extensions/docs/server2/server_instance.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698