From: Roger Light Date: Tue, 31 Dec 2013 21:39:39 +0000 (+0000) Subject: Fix typo. X-Git-Tag: v0.9~32 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=210e4244960d63ce025f37444a666ec1cde482d9;p=packages%2Fp%2Fpaho-mqtt.git Fix typo. Thanks to Jan Nijs. --- diff --git a/setup.py b/setup.py index 80e5800..20a233f 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from sys import version from distutils.core import setup setup(name='paho-mqtt', - version='0.4.90', + version='0.4.91', description='MQTT version 3.1 client class', author='Roger Light', author_email='roger@atchoo.org', diff --git a/src/paho/mqtt/client.py b/src/paho/mqtt/client.py index a6da14f..da188be 100755 --- a/src/paho/mqtt/client.py +++ b/src/paho/mqtt/client.py @@ -1155,7 +1155,7 @@ class Client(object): rc = 1 run = False - self._state_mutex_acquire() + self._state_mutex.acquire() if self._state == mqtt_cs_disconnecting: run = False self._state_mutex.release()