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

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

Issue 68873003: Docserver: Serve docs out of src/ not src/chrome/common/extensions. This allows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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/local_file_system.py
diff --git a/chrome/common/extensions/docs/server2/local_file_system.py b/chrome/common/extensions/docs/server2/local_file_system.py
index bb0bb16f6a079c18f28d419ebace8b54e999c8fe..f0a3f9dc822c8e2127572a593320b5e19f07c3a6 100644
--- a/chrome/common/extensions/docs/server2/local_file_system.py
+++ b/chrome/common/extensions/docs/server2/local_file_system.py
@@ -69,7 +69,8 @@ class LocalFileSystem(FileSystem):
@staticmethod
def Create():
- return LocalFileSystem(os.path.join(sys.path[0], os.pardir, os.pardir))
+ return LocalFileSystem(
+ os.path.join(sys.path[0], '..', '..', '..', '..', '..'))
def Read(self, paths, binary=False):
result = {}

Powered by Google App Engine
This is Rietveld 408576698