]> git.ipfire.org Git - thirdparty/patchwork.git/commit
xmlrpc authentication: Fix base64 decoding for py3
authorDaniel Axtens <dja@axtens.net>
Sat, 3 Sep 2016 07:07:19 +0000 (17:07 +1000)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sat, 3 Sep 2016 22:41:12 +0000 (23:41 +0100)
commit8b7eedcb7b99f44f6ce73ef9ec5ff24d52e40783
treeaa61b488d9484e48da44789beceb32f522345cb7
parentb23f30d81737ffa77cce3d9684a9f337a8937f22
xmlrpc authentication: Fix base64 decoding for py3

The byte/string distinction in Python 3 requires this messy set of
encode/decode to work.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephenfinucane@hotmail.com>
patchwork/views/xmlrpc.py