Comment 1 for bug 1418158

Revision history for this message
Gavin Panella (allenap) wrote :

In MAAS we've been fairly strict with what we consider to be a string, getting ready for Python 3. Implicit encoding and decoding can also introduce failures and/or corruption. Try instead:

    client.get(u"nodes/", "list").read()

or put:

    from __future__ import unicode_literals

at the top of the module.