artefactual/archivematica — pull request #48 by mistydemeo (2014-06-02 19:40:14+00:00)
Title: CreateMETS2: fix conversion of unicode documents into str

If an XML document string includes an encoding declaration, etree will refuse to parse the document if it's a unicode string. This fixes up the way it was converting into a bytestring before.