From: Roger A. Light Date: Mon, 28 Jul 2014 13:16:45 +0000 (+0100) Subject: [438484] Fix "protocol" not being used in publish.single() X-Git-Tag: v1.1~14 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=66acbb971086ae5c9c1a18a96dfddbb78f395657;p=packages%2Fp%2Fpaho-mqtt.git [438484] Fix "protocol" not being used in publish.single() Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=438484 Change-Id: I0b989335d3aad580b53222388252c6ffcc0a3899 --- diff --git a/ChangeLog.txt b/ChangeLog.txt index 0827387..5feae68 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,8 @@ +v1.0.2 +====== + +- Fix "protocol" not being used in publish.single() + v1.0.1 ====== diff --git a/src/paho/mqtt/publish.py b/src/paho/mqtt/publish.py index 029721b..4405680 100644 --- a/src/paho/mqtt/publish.py +++ b/src/paho/mqtt/publish.py @@ -213,5 +213,5 @@ def single(topic, payload=None, qos=0, retain=False, hostname="localhost", """ msg = {'topic':topic, 'payload':payload, 'qos':qos, 'retain':retain} - multiple([msg], hostname, port, client_id, keepalive, will, auth, tls) + multiple([msg], hostname, port, client_id, keepalive, will, auth, tls, protocol)