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

Unified Diff: tools/grit/grit/format/policy_templates/writers/reg_writer.py

Issue 6360002: Remove 'annotations' dictionary in policy_definitions.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better comments Created 9 years, 11 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: tools/grit/grit/format/policy_templates/writers/reg_writer.py
diff --git a/tools/grit/grit/format/policy_templates/writers/reg_writer.py b/tools/grit/grit/format/policy_templates/writers/reg_writer.py
index 4ff5508a2559971bad97773242801ba5579aa733..dc6a08d4ba74c75d66075597c65b5d81f62c732a 100644
--- a/tools/grit/grit/format/policy_templates/writers/reg_writer.py
+++ b/tools/grit/grit/format/policy_templates/writers/reg_writer.py
@@ -50,7 +50,7 @@ class RegWriter(template_writer.TemplateWriter):
return (is_list, policy['name'])
def WritePolicy(self, policy):
- example_value = policy['annotations']['example_value']
+ example_value = policy['example_value']
if policy['type'] == 'list':
self._StartBlock(policy['name'])

Powered by Google App Engine
This is Rietveld 408576698