Skip to content

Commit 382352d

Browse files
committed
Changed UserAgent string.
1 parent 7b9869f commit 382352d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
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 = '5.0'
62+
version = '5.0.1'
6363
# The full version, including alpha/beta/rc tags.
64-
release = '5.0'
64+
release = '5.0.1'
6565

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

dropbox/dropbox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
]
66

77
# TODO(kelkabany): We need to auto populate this as done in the v1 SDK.
8-
__version__ = '5.0'
8+
__version__ = '5.0.1'
99

1010
import contextlib
1111
import json
@@ -157,7 +157,7 @@ def __init__(self,
157157
self._session = create_session()
158158
self._headers = headers
159159

160-
base_user_agent = 'OfficialDropboxPythonV2SDK/' + __version__
160+
base_user_agent = 'OfficialDropboxPythonSDKv2/' + __version__
161161
if user_agent:
162162
self._raw_user_agent = user_agent
163163
self._user_agent = '{}/{}'.format(user_agent, base_user_agent)

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 = "5.0"
34+
SDK_VERSION = "5.0.1"
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='5.0',
28+
version='5.0.1',
2929
description='Official Dropbox API Client',
3030
author='Dropbox',
3131
author_email='dev-platform@dropbox.com',

0 commit comments

Comments
 (0)