| Index: grit/format/policy_templates/writers/plist_strings_writer.py
|
| ===================================================================
|
| --- grit/format/policy_templates/writers/plist_strings_writer.py (revision 139)
|
| +++ grit/format/policy_templates/writers/plist_strings_writer.py (working copy)
|
| @@ -49,7 +49,10 @@
|
| string table.
|
| '''
|
| desc = policy['desc']
|
| - if policy['type'] in ('int-enum','string-enum'):
|
| + if policy['type'] == 'external':
|
| + # This type can only be set through cloud policy.
|
| + return
|
| + elif policy['type'] in ('int-enum','string-enum'):
|
| # Append the captions of enum items to the description string.
|
| item_descs = []
|
| for item in policy['items']:
|
|
|