Commit 433f2eb6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! *: fix python2 compatibility with base64.encodebytes

parent 26585457
Pipeline #33308 failed with stage
in 0 seconds
......@@ -15,7 +15,7 @@ import six
if six.PY2:
from base64 import encodestring as base64_encodebytes
else:
from base64 import base64_encodebytes
from base64 import encodebytes as base64_encodebytes
from six.moves import cStringIO as StringIO
import unittest
from six.moves.urllib.parse import quote
......
......@@ -30,7 +30,7 @@ import six
if six.PY2:
from base64 import encodestring as base64_encodebytes
else:
from base64 import base64_encodebytes
from base64 import encodebytes as base64_encodebytes
from collections import defaultdict
from functools import partial, wraps
import hashlib
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment