summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/server2/sidenav_data_source.py
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/docs/server2/sidenav_data_source.py')
-rw-r--r--chrome/common/extensions/docs/server2/sidenav_data_source.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/common/extensions/docs/server2/sidenav_data_source.py b/chrome/common/extensions/docs/server2/sidenav_data_source.py
index 6793456..f340eb8 100644
--- a/chrome/common/extensions/docs/server2/sidenav_data_source.py
+++ b/chrome/common/extensions/docs/server2/sidenav_data_source.py
@@ -9,9 +9,6 @@ import logging
import compiled_file_system as compiled_fs
from third_party.json_schema_compiler.model import UnixName
-# Increment this if the data model changes for SidenavDataSource.
-_VERSION = 1
-
class SidenavDataSource(object):
"""This class reads in and caches a JSON file representing the side navigation
menu.
@@ -19,8 +16,7 @@ class SidenavDataSource(object):
class Factory(object):
def __init__(self, compiled_fs_factory, json_path):
self._cache = compiled_fs_factory.Create(self._CreateSidenavDict,
- SidenavDataSource,
- version=_VERSION)
+ SidenavDataSource)
self._json_path = json_path
def Create(self, path):