diff sat/plugins/plugin_xep_0346.py @ 3614:422049bb81d3

plugin XEP-0346: fix deprecated import
author Goffi <goffi@goffi.org>
date Mon, 02 Aug 2021 21:47:22 +0200
parents b977c74f9c85
children 909b56b115ff
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0346.py	Mon Aug 02 21:47:16 2021 +0200
+++ b/sat/plugins/plugin_xep_0346.py	Mon Aug 02 21:47:22 2021 +0200
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-from collections import Iterable
+from collections.abc import Iterable
 import itertools
 from typing import Optional
 from zope.interface import implementer