Chromium Code Reviews| 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 a2e1b69a92dace03f3e80173d2ae64249e4e4cce..23ec715f94234dc385d66a23b0d20e3b88738ff6 100644 |
| --- a/chrome/common/extensions/docs/server2/template_data_source.py |
| +++ b/chrome/common/extensions/docs/server2/template_data_source.py |
| @@ -24,7 +24,7 @@ class TemplateDataSource(object): |
| if not template: |
| return '' |
| # TODO error handling |
| - return template.render(context, {'templates': self}).text |
| + return template.render(context, self).text |
|
not at google - send to devlin
2012/06/20 18:11:53
Why this change? Unless I'm misunderstanding, it m
cduvall
2012/06/20 18:24:49
Yeah, I changed this because I thought it would wo
|
| def __getitem__(self, key): |
| return self.get(key) |