mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From e1c45570f61f9d6b28f8604c8a8cd6dd94f959ed Mon Sep 17 00:00:00 2001
|
||||
From: Brishen Hawkins <brishen.hawkins@gmail.com>
|
||||
Date: Tue, 9 Jun 2020 00:18:39 -0600
|
||||
Subject: [PATCH] Fix for Python 3.9 moving Iterable to collections.abc
|
||||
|
||||
Signed-off-by: Brishen Hawkins <brishen.hawkins@gmail.com>
|
||||
|
||||
Backported from: e1c45570f61f9d6b28f8604c8a8cd6dd94f959ed
|
||||
Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
|
||||
---
|
||||
src/paho/mqtt/publish.py | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/paho/mqtt/publish.py b/src/paho/mqtt/publish.py
|
||||
index f9f1986e..dcb34ff1 100644
|
||||
--- a/src/paho/mqtt/publish.py
|
||||
+++ b/src/paho/mqtt/publish.py
|
||||
@@ -21,6 +21,10 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
import collections
|
||||
+try:
|
||||
+ from collections.abc import Iterable
|
||||
+except ImportError:
|
||||
+ from collections import Iterable
|
||||
|
||||
from . import client as paho
|
||||
from .. import mqtt
|
||||
@@ -124,7 +128,7 @@ def multiple(msgs, hostname="localhost", port=1883, client_id="", keepalive=60,
|
||||
proxy_args: a dictionary that will be given to the client.
|
||||
"""
|
||||
|
||||
- if not isinstance(msgs, collections.Iterable):
|
||||
+ if not isinstance(msgs, Iterable):
|
||||
raise TypeError('msgs must be an iterable')
|
||||
|
||||
client = paho.Client(client_id=client_id, userdata=collections.deque(msgs),
|
||||
@@ -1,6 +1,6 @@
|
||||
# md5 from https://pypi.python.org/pypi/paho-mqtt/json, sha256 locally computed
|
||||
md5 e3ac29cd5dc247a01083a2a8f3fddd08 paho-mqtt-1.4.0.tar.gz
|
||||
sha256 e440a052b46d222e184be3be38676378722072fcd4dfd2c8f509fb861a7b0b79 paho-mqtt-1.4.0.tar.gz
|
||||
sha256 76f13729e84e9222e543303df00f87d1b2c0995b6a505cd859a285667e44babb LICENSE.txt
|
||||
sha256 e8cf7d54ea46c19aba793983889b7f7425e1ebfcaaccec764a7db091646e203c edl-v10
|
||||
sha256 3b9be6b894d0769de796e653571ff6cef494913c0ce78c35a97db939e7d9087c epl-v10
|
||||
md5 e3ac29cd5dc247a01083a2a8f3fddd08 paho-mqtt-1.4.0.tar.gz
|
||||
sha256 e440a052b46d222e184be3be38676378722072fcd4dfd2c8f509fb861a7b0b79 paho-mqtt-1.4.0.tar.gz
|
||||
sha256 76f13729e84e9222e543303df00f87d1b2c0995b6a505cd859a285667e44babb LICENSE.txt
|
||||
sha256 e8cf7d54ea46c19aba793983889b7f7425e1ebfcaaccec764a7db091646e203c edl-v10
|
||||
sha256 3b9be6b894d0769de796e653571ff6cef494913c0ce78c35a97db939e7d9087c epl-v10
|
||||
|
||||
Reference in New Issue
Block a user