| Index: chrome/common/extensions/docs/server2/template_data_source.py
|
| diff --git a/chrome/common/extensions/docs/server2/template_data_source.py b/chrome/common/extensions/docs/server2/template_data_source.py
|
| index 003cbf097425a227fadb5a37e2b6c17cf556d6d1..6a7389eabedfb5f8c245a3bc95aaa40f54c77f64 100644
|
| --- a/chrome/common/extensions/docs/server2/template_data_source.py
|
| +++ b/chrome/common/extensions/docs/server2/template_data_source.py
|
| @@ -2,7 +2,6 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -import json
|
| import logging
|
| import os
|
| import time
|
| @@ -27,7 +26,7 @@ class TemplateDataSource(object):
|
| if not template:
|
| return ''
|
| # TODO error handling
|
| - return template.render(json.loads(context), {'templates': self}).text
|
| + return template.render(context, {'templates': self}).text
|
|
|
| class _CachedTemplate(object):
|
| def __init__(self, template, expiry):
|
|
|