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

Unified Diff: chrome/common/extensions/docs/server2/intro_data_source.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/intro_data_source.py
diff --git a/chrome/common/extensions/docs/server2/intro_data_source.py b/chrome/common/extensions/docs/server2/intro_data_source.py
index b4407c0b9ea46c2716d0d603a03df76f97352025..53034de158b96cc522a2abb5cde5c5cfb00ca76a 100644
--- a/chrome/common/extensions/docs/server2/intro_data_source.py
+++ b/chrome/common/extensions/docs/server2/intro_data_source.py
@@ -15,9 +15,6 @@ from third_party.handlebar import Handlebar
# TODO(kalman): rename this HTMLDataSource or other, then have separate intro
# article data sources created as instances of it.
-# Increment this if the data model changes for IntroDataSource.
-_VERSION = 5
-
_H1_REGEX = re.compile('<h1[^>.]*?>.*?</h1>', flags=re.DOTALL)
class _IntroParser(HTMLParser):
@@ -69,8 +66,7 @@ class IntroDataSource(object):
class Factory(object):
def __init__(self, compiled_fs_factory, ref_resolver_factory, base_paths):
self._cache = compiled_fs_factory.Create(self._MakeIntroDict,
- IntroDataSource,
- version=_VERSION)
+ IntroDataSource)
self._ref_resolver = ref_resolver_factory.Create()
self._base_paths = base_paths

Powered by Google App Engine
This is Rietveld 408576698