Chromium Code Reviews| Index: grit/format/policy_templates/writers/doc_writer.py |
| =================================================================== |
| --- grit/format/policy_templates/writers/doc_writer.py (revision 177) |
| +++ grit/format/policy_templates/writers/doc_writer.py (working copy) |
| @@ -590,6 +590,9 @@ |
| def BeginTemplate(self): |
| # Add a <div> for the summary section. |
| + if self._GetChromiumVersionString() is not None: |
| + self.AddComment(self._main_div, self.config['build'] + ''' version: ''' + self._GetChromiumVersionString()) |
|
pastarmovj
2014/10/07 14:54:35
Line too long and no need for triple quotes.
cschuet1
2014/10/07 15:42:46
Done.
|
| + |
| summary_div = self.AddElement(self._main_div, 'div') |
| self.AddElement(summary_div, 'a', {'name': 'top'}) |
| self.AddElement(summary_div, 'br') |