Index: grit/format/policy_templates/writers/json_writer.py |
=================================================================== |
--- grit/format/policy_templates/writers/json_writer.py (revision 139) |
+++ grit/format/policy_templates/writers/json_writer.py (working copy) |
@@ -55,6 +55,9 @@ |
example_value_str = 'false' |
elif policy['type'] == 'string-enum': |
example_value_str = '"%s"' % example_value; |
+ elif policy['type'] == 'external': |
+ # This type can only be set through cloud policy. |
+ return |
else: |
raise Exception('unknown policy type %s:' % policy['type']) |