Index: grit/format/policy_templates/writers/adm_writer.py |
=================================================================== |
--- grit/format/policy_templates/writers/adm_writer.py (revision 139) |
+++ grit/format/policy_templates/writers/adm_writer.py (working copy) |
@@ -130,6 +130,10 @@ |
builder.AddLine('END PART', -1) |
def _WritePolicy(self, policy, key_name, builder): |
+ if policy['type'] == 'external': |
+ # This type can only be set through cloud policy. |
+ return |
+ |
self._AddGuiString(policy['name'] + '_Policy', policy['caption']) |
builder.AddLine('POLICY !!%s_Policy' % policy['name'], 1) |
self._WriteSupported(builder) |