Index: grit/format/policy_templates/writers/adml_writer.py |
=================================================================== |
--- grit/format/policy_templates/writers/adml_writer.py (revision 177) |
+++ grit/format/policy_templates/writers/adml_writer.py (working copy) |
@@ -161,6 +161,9 @@ |
dom_impl = minidom.getDOMImplementation('') |
self._doc = dom_impl.createDocument(None, 'policyDefinitionResources', |
None) |
+ if self._GetChromiumVersionString() is not None: |
+ self.AddComment(self._doc.documentElement, self.config['build'] + ''' version: ''' + self._GetChromiumVersionString()) |
pastarmovj
2014/10/07 14:54:35
Line too long.
You don't need triple ''' for one l
cschuet1
2014/10/07 15:42:45
Done.
|
+ # self.WriteComment(self.config['build'] + ''' version: ''' + self._GetChromiumVersionString()) |
pastarmovj
2014/10/07 14:54:35
Why is this line here? If you don't need it remove
cschuet1
2014/10/07 15:42:45
Done.
|
policy_definitions_resources_elem = self._doc.documentElement |
policy_definitions_resources_elem.attributes['revision'] = '1.0' |
policy_definitions_resources_elem.attributes['schemaVersion'] = '1.0' |