From 63e2ceba3b060661e4537bc140aedaae02c2561f Mon Sep 17 00:00:00 2001 From: Emanuel Dima Date: Tue, 9 Sep 2014 10:27:30 +0200 Subject: [PATCH] fixed #366, unicode exception when depositing --- invenio/legacy/bibrecord/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invenio/legacy/bibrecord/__init__.py b/invenio/legacy/bibrecord/__init__.py index 5b27c6fc14..4c2db4ab0a 100644 --- a/invenio/legacy/bibrecord/__init__.py +++ b/invenio/legacy/bibrecord/__init__.py @@ -1252,7 +1252,7 @@ def field_xml_output(field, tag): (tag, field[1], field[2])) marcxml += [_subfield_xml_output(subfield) for subfield in field[0]] marcxml.append(' ') - return '\n'.join(map(str, marcxml)) + return '\n'.join(marcxml) def record_extract_oai_id(record):