Index: grit/format/policy_templates/writers/reg_writer.py |
=================================================================== |
--- grit/format/policy_templates/writers/reg_writer.py (revision 139) |
+++ grit/format/policy_templates/writers/reg_writer.py (working copy) |
@@ -52,7 +52,10 @@ |
def _WritePolicy(self, policy, key, list): |
example_value = policy['example_value'] |
- if policy['type'] == 'list': |
+ if policy['type'] == 'external': |
+ # This type can only be set through cloud policy. |
+ return |
+ elif policy['type'] == 'list': |
self._StartBlock(key, policy['name'], list) |
i = 1 |
for item in example_value: |