Commits

Roger Light committed d04b867

Python client now contains its version number.

Thanks to Karl Palsson.

Comments (0)

Files changed (2)

 - Fix support for Python 2.6, 3.0, 3.1.
 - Add support for un/subscribing to multiple topics at once in un/subscribe().
 - Clients now close their socket after sending DISCONNECT.
+- Python client now contains its version number.
 
 
 1.2 - 20130708

lib/python/mosquitto.py

 import threading
 import time
 
+MOSQUITTO_MAJOR=1
+MOSQUITTO_MINOR=2
+MOSQUITTO_REVISION=90
+MOSQUITTO_VERSION_NUMBER=(MOSQUITTO_MAJOR*1000000+MOSQUITTO_MINOR*1000+MOSQUITTO_REVISION)
+
 if sys.version_info[0] < 3:
     PROTOCOL_NAME = "MQIsdp"
 else: