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

Unified Diff: chrome/common/extensions/docs/server2/patched_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/patched_file_system.py
diff --git a/chrome/common/extensions/docs/server2/patched_file_system.py b/chrome/common/extensions/docs/server2/patched_file_system.py
index 5828a7c94afcaf30fadbdeb62af31c84e19d786e..c287c58f8e7c144d485df38e0997dd0e23c51ebd 100644
--- a/chrome/common/extensions/docs/server2/patched_file_system.py
+++ b/chrome/common/extensions/docs/server2/patched_file_system.py
@@ -156,3 +156,8 @@ class PatchedFileSystem(FileSystem):
else:
raise FileNotFoundError('%s was not in child versions' % filename)
return stat_info
+
+ def GetIdentity(self):
+ return '%s(%s,%s)' % (self.__class__.__name__,
+ self._host_file_system.GetIdentity(),
+ self._patcher.GetIdentity())
« no previous file with comments | « chrome/common/extensions/docs/server2/patch_servlet_test.py ('k') | chrome/common/extensions/docs/server2/patcher.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698