File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 59
59
# built documents.
60
60
#
61
61
# The short X.Y version.
62
- version = '5.2'
62
+ version = '5.2.1 '
63
63
# The full version, including alpha/beta/rc tags.
64
- release = '5.2'
64
+ release = '5.2.1 '
65
65
66
66
# The language for content autogenerated by Sphinx. Refer to documentation
67
67
# for a list of supported languages.
Original file line number Diff line number Diff line change 5
5
]
6
6
7
7
# TODO(kelkabany): We need to auto populate this as done in the v1 SDK.
8
- __version__ = '5.2'
8
+ __version__ = '5.2.1 '
9
9
10
10
import contextlib
11
11
import json
Original file line number Diff line number Diff line change @@ -436,9 +436,13 @@ def _params_to_urlencoded(params):
436
436
the exception of unicode objects which are utf8-encoded.
437
437
"""
438
438
def encode (o ):
439
- if isinstance (o , six .text_type ):
440
- return o . encode ( 'utf8' )
439
+ if isinstance (o , six .binary_type ):
440
+ return o
441
441
else :
442
- return str (o )
442
+ if isinstance (o , six .text_type ):
443
+ return o .encode ('utf-8' )
444
+ else :
445
+ return str (o ).encode ('utf-8' )
446
+
443
447
utf8_params = {encode (k ): encode (v ) for k , v in six .iteritems (params )}
444
448
return url_encode (utf8_params )
Original file line number Diff line number Diff line change 31
31
else :
32
32
url_encode = urllib .urlencode
33
33
34
- SDK_VERSION = "5.2"
34
+ SDK_VERSION = "5.2.1 "
35
35
36
36
TRUSTED_CERT_FILE = pkg_resources .resource_filename (__name__ , 'trusted-certs.crt' )
37
37
Original file line number Diff line number Diff line change 25
25
26
26
dist = setup (
27
27
name = 'dropbox' ,
28
- version = '5.2' ,
28
+ version = '5.2.1 ' ,
29
29
description = 'Official Dropbox API Client' ,
30
30
author = 'Dropbox' ,
31
31
You can’t perform that action at this time.
0 commit comments