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.
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.