From 7f6630c006406a488dae4d60e8a14d07d2d48765 Mon Sep 17 00:00:00 2001 From: Austin Marino Date: Tue, 15 Oct 2019 14:16:23 -0700 Subject: [PATCH] removed xml configs from doc and code --- beetsplug/export.py | 5 +---- docs/plugins/export.rst | 12 +----------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/beetsplug/export.py b/beetsplug/export.py index 9a570c4fb..f7e84a570 100644 --- a/beetsplug/export.py +++ b/beetsplug/export.py @@ -65,10 +65,7 @@ class ExportPlugin(BeetsPlugin): }, 'xml': { # XML module formatting options. - 'formatting': { - # Can be either "xml", "html" or "text" (default is "xml"). - 'method': 'xml' - } + 'formatting': {} } # TODO: Use something like the edit plugin # 'item_fields': [] diff --git a/docs/plugins/export.rst b/docs/plugins/export.rst index 8afc740cd..a88925765 100644 --- a/docs/plugins/export.rst +++ b/docs/plugins/export.rst @@ -69,13 +69,6 @@ These options match the options from the `Python csv module`_. .. _Python csv module: https://docs.python.org/3/library/csv.html#csv-fmt-params -- **XML Formatting** - - **method**: Can be either "xml", "html" or "text" (default is "xml") - -These options match the options from the `Python xml module`_. - -.. _Python xml module: https://docs.python.org/3/library/xml.etree.elementtree.html#xml.etree.ElementTree.tostring - The default options look like this:: export: @@ -88,7 +81,4 @@ The default options look like this:: csv: formatting: delimiter: ',' - dialect: 'excel' - xml: - formatting: - method: 'xml' + dialect: 'excel'