File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
"""LaunchKey Service SDK module"""
2
- from six import add_move , MovedAttribute
3
-
4
- add_move (MovedAttribute ('encodebytes' ,
5
- 'base64' , 'base64' ,
6
- 'encodestring' , 'encodebytes' ))
7
-
8
2
SDK_VERSION = '3.3.0'
9
3
LAUNCHKEY_PRODUCTION = "https://api.launchkey.com"
10
4
VALID_JWT_ISSUER_LIST = ["svc" , "dir" , "org" ]
Original file line number Diff line number Diff line change 3
3
# pylint: disable=too-many-public-methods,invalid-name,deprecated-method
4
4
# pylint: disable=too-many-arguments
5
5
6
- from base64 import encodestring
6
+ try :
7
+ from base64 import encodebytes as encodestring
8
+ except ImportError : # pragma: no cover
9
+ from base64 import encodestring
7
10
from .base import ServiceManagingBaseClient , api_call
8
11
from ..utils .shared import iso_format
9
12
from ..entities .shared import PublicKey
You can’t perform that action at this time.
0 commit comments