Commit 65aa436e authored by muxator's avatar muxator

py3: fix drag & drop in the Repository Registry

Before this change, dragging & dropping repositories across groups in the
registry was not working on py3: at drop, the message b'Start tag expected.'
was printed in the console, but nothing happened.

The reason is that QMimeData::data() returns a QByteArray containing an XML
document that was passed through str() and directly fed to
repotreemodel.readXml(), which instead expects either a unicode string or

This change converts the QByteArray to bytes(), and restores the drag & drop
functionality in the Repo Registry.

branch : stable
parent 2ab531a6b85d
Pipeline #8169 failed with stage
in 4 minutes and 33 seconds