From 909c9da3d17b3763f646f48800dc7cdb4536c1b9 Mon Sep 17 00:00:00 2001 From: Martyn Gigg <martyn.gigg@stfc.ac.uk> Date: Wed, 25 Jul 2018 16:05:15 +0100 Subject: [PATCH] Fix flake8 warnings --- tools/DOI/doi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/DOI/doi.py b/tools/DOI/doi.py index e4cc9241dbc..c9ce7b37592 100644 --- a/tools/DOI/doi.py +++ b/tools/DOI/doi.py @@ -80,6 +80,7 @@ INVALID_URL = 'http://www.datacite.org/invalidDOI' PLAINTEXT_CONTENT_HEADER = 'Content-Type:text/plain;charset=UTF-8' XML_CONTENT_HEADER = 'Content-Type:application/xml;charset=UTF-8' + def build_xml_form(doi, relationships, creator_name_list, version_str): '''Builds the xml form containing the metadata for the DOI. Where helpful, comments showing the definition / allowed values of the data fields have -- GitLab