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

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

Issue 14267024: Devserver: have a separate ObjectStore namespace (both memcache and datastore) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove _CheckVersions 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/subversion_file_system.py
diff --git a/chrome/common/extensions/docs/server2/subversion_file_system.py b/chrome/common/extensions/docs/server2/subversion_file_system.py
index 66770fe64da7d819ec88226e3d1fdd630b314702..9592e2b0ae5cf8a5f3c8530f0c0d22ea354047fd 100644
--- a/chrome/common/extensions/docs/server2/subversion_file_system.py
+++ b/chrome/common/extensions/docs/server2/subversion_file_system.py
@@ -9,14 +9,6 @@ import re
import xml.dom.minidom as xml
from xml.parsers.expat import ExpatError
-# Sometimes we get bad data and end up caching it. Increment this so that
-# CachingFileSystem (if one is attached) knows to re-fetch.
-#
-# WARNING: This is a VERY EXPENSIVE number to bump. ONLY do so if the data
-# returned by these operations changes, DESPITE WHAT THE PRESUBMIT WARNING
-# MIGHT TELL YOU!
-_VERSION = 1
-
class _AsyncFetchFuture(object):
def __init__(self, paths, fetcher, binary):
# A list of tuples of the form (path, Future).
@@ -134,7 +126,3 @@ class SubversionFileSystem(FileSystem):
raise FileNotFoundError('%s was not in child versions' % filename)
stat_info.version = stat_info.child_versions[filename]
return stat_info
-
- @classmethod
- def GetVersion(cls):
- return _VERSION

Powered by Google App Engine
This is Rietveld 408576698