diff --git a/NEWS.txt b/NEWS.txt index 7bb736e..ea762e1 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -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* diff --git a/setup.py b/setup.py index 31ea574..2c0867e 100644 --- a/setup.py +++ b/setup.py @@ -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. @@ -29,7 +29,7 @@ author='Adam J. Lincoln', author_email='alincoln@salesforce.com', 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, diff --git a/src/python_bayeux/__init__.py b/src/python_bayeux/__init__.py index 89e1c1d..831f0a7 100644 --- a/src/python_bayeux/__init__.py +++ b/src/python_bayeux/__init__.py @@ -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': @@ -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)