Index: tools/grit/grit/format/policy_templates/policy_template_generator.py |
diff --git a/tools/grit/grit/format/policy_templates/policy_template_generator.py b/tools/grit/grit/format/policy_templates/policy_template_generator.py |
index 1d54b9726f3cc7b3b7e45bb081ec8c5d50b7fbc3..e2f61e6a686d36d1dfda8b3b038e126e96e9f55a 100644 |
--- a/tools/grit/grit/format/policy_templates/policy_template_generator.py |
+++ b/tools/grit/grit/format/policy_templates/policy_template_generator.py |
@@ -16,6 +16,7 @@ class PolicyTemplateGenerator: |
''' |
def _ImportMessage(self, msg_txt): |
+ msg_txt = msg_txt.decode('utf-8') |
Jói
2011/05/23 13:13:51
This looks OK, but just to confirm: You are readi
gfeher
2011/05/23 20:55:10
Exactly.
|
# Replace the placeholder of app name. |
msg_txt = msg_txt.replace('$1', self._config['app_name']) |
msg_txt = msg_txt.replace('$2', self._config['os_name']) |