Chromium Code Reviews| 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 4a30257697b66eb8a7f359db33030c046d7a710a..70992510bd5d3e5ea36da609166107035978fe23 100644 |
| --- a/chrome/common/extensions/docs/server2/intro_data_source.py |
| +++ b/chrome/common/extensions/docs/server2/intro_data_source.py |
| @@ -13,7 +13,7 @@ from third_party.handlebar import Handlebar |
| # Increment this version if there are changes to the table of contents dict that |
| # IntroDataSource caches. |
| -_VERSION = 1 |
| +_VERSION = 2 |
|
not at google - send to devlin
2012/11/05 19:47:50
why does this need to change?
cduvall
2012/11/06 00:58:54
This is just to satisfy the presubmit check.
|
| _H1_REGEX = re.compile('<h1[^>.]*?>.*?</h1>', flags=re.DOTALL) |
| @@ -98,9 +98,6 @@ class IntroDataSource(object): |
| self._cache = cache |
| self._base_paths = base_paths |
| - def __getitem__(self, key): |
| - return self.get(key) |
| - |
| def get(self, key): |
| real_path = FormatKey(key) |
| error = None |