Chromium Code Reviews| Index: grit/format/policy_templates/writers/ios_plist_writer.py |
| =================================================================== |
| --- grit/format/policy_templates/writers/ios_plist_writer.py (revision 177) |
| +++ grit/format/policy_templates/writers/ios_plist_writer.py (working copy) |
| @@ -97,6 +97,8 @@ |
| self._plist.attributes['version'] = '1.0' |
| self._root_dict = self.AddElement(self._plist, 'dict') |
| self.AddComment(self._root_dict, CHROME_POLICY_COMMENT) |
| + if self._GetChromiumVersionString() is not None: |
| + self.AddComment(self._root_dict, ''' ''' + self.config['build'] + ''' version: ''' + self._GetChromiumVersionString() + ''' ''') |
|
pastarmovj
2014/10/07 14:54:35
Line too long; triple quotes.
cschuet1
2014/10/07 15:42:46
Done.
|
| self._dict = self._AddKeyValuePair(self._root_dict, 'ChromePolicy', 'dict') |
| self._encoded_plist.attributes['version'] = '1.0' |