Skip to content

Commit a2eb0e5

Browse files
committed
Fixed bug in DropboxOAuth2Flow.finish().
1 parent 63eeab6 commit a2eb0e5

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
# built documents.
6060
#
6161
# The short X.Y version.
62-
version = '3.27'
62+
version = '3.28'
6363
# The full version, including alpha/beta/rc tags.
64-
release = '3.27'
64+
release = '3.28'
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

dropbox/dropbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
]
44

55
# TODO(kelkabany): We need to auto populate this as done in the v1 SDK.
6-
__version__ = '3.27'
6+
__version__ = '3.28'
77

88
import contextlib
99
import json

dropbox/oauth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, consumer_key, consumer_secret, locale=None):
2525
self.consumer_key = consumer_key
2626
self.consumer_secret = consumer_secret
2727
self.locale = locale
28-
self.session = pinned_session()
28+
self.requests_session = pinned_session()
2929

3030
self._domain = os.environ.get('DROPBOX_DOMAIN', Dropbox.DEFAULT_DOMAIN)
3131

@@ -51,7 +51,7 @@ def _finish(self, code, redirect_uri):
5151
if redirect_uri is not None:
5252
params['redirect_uri'] = redirect_uri
5353

54-
resp = self.session.post(url, data=params)
54+
resp = self.requests_session.post(url, data=params)
5555
resp.raise_for_status()
5656

5757
d = resp.json()

dropbox/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
else:
3232
url_encode = urllib.urlencode
3333

34-
SDK_VERSION = "3.27"
34+
SDK_VERSION = "3.28"
3535

3636
TRUSTED_CERT_FILE = pkg_resources.resource_filename(__name__, 'trusted-certs.crt')
3737

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
dist = setup(
2727
name='dropbox',
28-
version='3.27',
28+
version='3.28',
2929
description='Official Dropbox API Client',
3030
author='Dropbox',
3131
author_email='dev-platform@dropbox.com',

0 commit comments

Comments
 (0)