Chromium Code Reviews| Index: tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py |
| diff --git a/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py b/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py |
| index 5917fb447ea5df569b1dc6c62537bcff79798f79..12d1a917717dfc8fc8b905cfdab4bf4cc88fa27c 100755 |
| --- a/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py |
| +++ b/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py |
| @@ -67,8 +67,8 @@ class XMLFormattedWriter(template_writer.TemplateWriter): |
| # This is problematic both for the OSX Workgroup Manager (plist files) and |
| # the Windows Group Policy Editor (admx files). What they need instead: |
| # <string>value of string</string> |
| - # So we use the poor man's pretty printer here. It assumes that there are |
| - # no mixed-content nodes. |
| + # So we use a different printer here. It assumes that there are no |
|
Nico
2016/11/29 16:17:07
This doesn't mean the same thing. From what I can
Matt Giuca
2016/11/30 07:28:59
Done.
|
| + # mixed-content nodes. |
| # Get all the XML content in a one-line string. |
| xml = doc.toxml(**kwargs) |
| # Determine where the line breaks will be. (They will only be between tags.) |