Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion NEWS.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
News
====

0.1.1
0.1.3
---

*Release date: 2018-07-24*

* Fix unknown client error code - thanks for the report @ivanpricewaycom!

0.1.2
---

*Release date: 2018-01-04*
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
NEWS = open(os.path.join(here, 'NEWS.txt')).read()


version = '0.1.1'
version = '0.1.3'

install_requires = [
# List your project dependencies here.
Expand All @@ -29,7 +29,7 @@
author='Adam J. Lincoln',
author_email='[email protected]',
url='https://github.com/SalesforceFoundation/python-bayeux',
download_url='https://github.com/SalesforceFoundation/python-bayeux/tarball/0.1',
download_url='https://github.com/SalesforceFoundation/python-bayeux/tarball/0.1.3',
license='BSD 3-Clause',
packages=find_packages('src'),
package_dir = {'': 'src'},include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions src/python_bayeux/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _connect_greenlet(self):

if channel == '/meta/connect':
if not element['successful'] and \
element['error'] == '402::Unknown client':
element['error'] == '403::Unknown client':

# TODO: support handshake advice interval
if element['advice']['reconnect'] == 'handshake':
Expand Down Expand Up @@ -285,7 +285,7 @@ def _subscribe_greenlet(self):

for element in subscribe_responses:
if not element['successful'] and \
element['error'] == '402::Unknown client':
element['error'] == '403::Unknown client':
# Just try again, and eventually connect() will re-try a
# handshake
self.subscription_queue.put(subscription_queue_message)
Expand Down