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

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

Issue 10831269: Extensions Docs Server: BranchUtility not fetching branch numbers correctly (fixed) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/server_instance.py
diff --git a/chrome/common/extensions/docs/server2/server_instance.py b/chrome/common/extensions/docs/server2/server_instance.py
index 5c46aa21de13d1184ef4242f6d8cd0de5ce336b3..218d74bd20039e7e7efcd50a7ec4e29150425ae8 100644
--- a/chrome/common/extensions/docs/server2/server_instance.py
+++ b/chrome/common/extensions/docs/server2/server_instance.py
@@ -35,8 +35,8 @@ class ServerInstance(object):
response.headers['content-type'] = mimetypes.types_map[ext]
return result
- def Get(self, path, request, response):
- templates = self._template_data_source_factory.Create(request)
+ def Get(self, path, channel_name, request, response):
+ templates = self._template_data_source_factory.Create(request, channel_name)
if fnmatch(path, 'extensions/examples/*.zip'):
content = self._example_zipper.Create(

Powered by Google App Engine
This is Rietveld 408576698