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

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

Issue 474293007: Docserver: Automatically implement FileSystem.Stat if FileSystem.StatAsync has (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/gitiles_file_system.py
diff --git a/chrome/common/extensions/docs/server2/gitiles_file_system.py b/chrome/common/extensions/docs/server2/gitiles_file_system.py
index 5e2f86784a1b60dee722ef499514f234a2c92121..40c7eaa7cf6d3ec0366e8bf76d5da4685820642e 100644
--- a/chrome/common/extensions/docs/server2/gitiles_file_system.py
+++ b/chrome/common/extensions/docs/server2/gitiles_file_system.py
@@ -157,9 +157,6 @@ class GitilesFileSystem(FileSystem):
# }
return content_future.Then(lambda json: _ParseGitilesJson(json)['commit'])
- def Stat(self, path):
- return self.StatAsync(path).Get()
-
def StatAsync(self, path):
dir_, filename = posixpath.split(path)
def stat(content):
« no previous file with comments | « chrome/common/extensions/docs/server2/file_system.py ('k') | chrome/common/extensions/docs/server2/subversion_file_system.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698