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

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

Issue 22824042: Docserver: SidenavDataSource refactor, transition to DataSourceRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup, deleted unused files/import Created 7 years, 4 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/strings_data_source.py
diff --git a/chrome/common/extensions/docs/server2/strings_data_source.py b/chrome/common/extensions/docs/server2/strings_data_source.py
index 50433618e672779c122ac4beef5a8f0fb021ba31..3f0eed4a71ab2c46595a2cb1a9ad261245f91d77 100644
--- a/chrome/common/extensions/docs/server2/strings_data_source.py
+++ b/chrome/common/extensions/docs/server2/strings_data_source.py
@@ -9,7 +9,7 @@ class StringsDataSource(DataSource):
'''Provides templates with access to a key to string mapping defined in a
JSON configuration file.
'''
- def __init__(self, server_instance):
+ def __init__(self, server_instance, _):
self._cache = server_instance.compiled_host_fs_factory.Create(
lambda _, strings_json: Parse(strings_json), StringsDataSource)
self._strings_json_path = server_instance.strings_json_path

Powered by Google App Engine
This is Rietveld 408576698