MqttMonitor/MqttClient.py

branch
eric7
changeset 140
853ffd248dda
parent 139
b7ca79939cc7
child 143
51bc5bcc672a
equal deleted inserted replaced
139:b7ca79939cc7 140:853ffd248dda
934 elif mqttErrno == mqtt.MQTT_ERR_NOMEM: 934 elif mqttErrno == mqtt.MQTT_ERR_NOMEM:
935 return QCoreApplication.translate("MqttErrorMessage", "Out of memory.") 935 return QCoreApplication.translate("MqttErrorMessage", "Out of memory.")
936 elif mqttErrno == mqtt.MQTT_ERR_PROTOCOL: 936 elif mqttErrno == mqtt.MQTT_ERR_PROTOCOL:
937 return QCoreApplication.translate( 937 return QCoreApplication.translate(
938 "MqttErrorMessage", 938 "MqttErrorMessage",
939 "A network protocol error occurred when communicating with" " the broker.", 939 "A network protocol error occurred when communicating with the broker.",
940 ) 940 )
941 elif mqttErrno == mqtt.MQTT_ERR_INVAL: 941 elif mqttErrno == mqtt.MQTT_ERR_INVAL:
942 return QCoreApplication.translate( 942 return QCoreApplication.translate(
943 "MqttErrorMessage", "Invalid function arguments provided." 943 "MqttErrorMessage", "Invalid function arguments provided."
944 ) 944 )

eric ide

mercurial