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

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

Issue 149513014: Docserver: Add FileSystem.Exists method and start sanity checking path format (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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
« no previous file with comments | « chrome/common/extensions/docs/server2/path_util_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/render_servlet.py
diff --git a/chrome/common/extensions/docs/server2/render_servlet.py b/chrome/common/extensions/docs/server2/render_servlet.py
index 7c683a0eec76922605523552ee339d2ad6d3bb2a..3391415b88a2204d8559e33acdeb77bf26ebcba4 100644
--- a/chrome/common/extensions/docs/server2/render_servlet.py
+++ b/chrome/common/extensions/docs/server2/render_servlet.py
@@ -36,8 +36,6 @@ class RenderServlet(Servlet):
def Get(self):
''' Render the page for a request.
'''
- # TODO(kalman): a consistent path syntax (even a Path class?) so that we
- # can stop being so conservative with stripping and adding back the '/'s.
path = self._request.path.lstrip('/')
server_instance = self._delegate.CreateServerInstance()
« no previous file with comments | « chrome/common/extensions/docs/server2/path_util_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698