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

Unified Diff: grit/format/policy_templates/policy_template_generator.py

Issue 91273002: Improve platform support indications for policy documentation. (Closed) Base URL: https://chromium.googlesource.com/external/grit-i18n.git@master
Patch Set: Created 7 years, 1 month 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: grit/format/policy_templates/policy_template_generator.py
diff --git a/grit/format/policy_templates/policy_template_generator.py b/grit/format/policy_templates/policy_template_generator.py
index 2540a729c33e7995ed394ac262a2fd8dd111a01a..e742b384b7b716fd178cb8ca08ea9e030c3c45cc 100644
--- a/grit/format/policy_templates/policy_template_generator.py
+++ b/grit/format/policy_templates/policy_template_generator.py
@@ -148,8 +148,7 @@ class PolicyTemplateGenerator:
if not 'label' in policy:
# If 'label' is not specified, then it defaults to 'caption':
policy['label'] = policy['caption']
- policy['supported_on'] = self._ProcessSupportedOn(
- policy['supported_on'])
+ policy['supported_on'] = self._ProcessSupportedOn(policy['supported_on'])
def _ProcessPolicyList(self, policy_list):
'''Adds localized message strings to each item in a list of policies and
« no previous file with comments | « no previous file | grit/format/policy_templates/writers/doc_writer.py » ('j') | grit/format/policy_templates/writers/doc_writer.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698