Index: chrome/common/extensions/docs/server2/template_utility.py |
diff --git a/chrome/common/extensions/docs/server2/template_utility.py b/chrome/common/extensions/docs/server2/template_utility.py |
deleted file mode 100644 |
index ac3120e595e5d805981d0a30082a0fd664cd806f..0000000000000000000000000000000000000000 |
--- a/chrome/common/extensions/docs/server2/template_utility.py |
+++ /dev/null |
@@ -1,13 +0,0 @@ |
-# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-# Use of this source code is governed by a BSD-style license that can be |
-# found in the LICENSE file. |
- |
-import json |
- |
-class TemplateUtility(object): |
- def RenderTemplate(self, template, json_str, partials=None): |
- if partials is None: |
- partials = [] |
- # TODO(cduvall) error handling |
- result = template.render(json.loads(json_str), {'templates': partials}) |
- return result.text |