From b3d5c569654ee378f07d20a30a86f76703bd59f0 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 29 Sep 2023 03:02:22 +0200 Subject: [PATCH] Using Python collections.abc instead of collections (deprecated). --- cumulus/src/plugins/block/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cumulus/src/plugins/block/configuration.py b/cumulus/src/plugins/block/configuration.py index 97cdaa7d..880d1bea 100644 --- a/cumulus/src/plugins/block/configuration.py +++ b/cumulus/src/plugins/block/configuration.py @@ -1452,7 +1452,7 @@ class BlockConf ( GaugeConf ): for line in range(len(self.ioPadsArg)): bits = [] if not isinstance(self.ioPadsArg[line][-1],str) \ - and isinstance(self.ioPadsArg[line][-1],collections.Iterable): + and isinstance(self.ioPadsArg[line][-1],collections.abc.Iterable): bits = self.ioPadsArg[line][-1] elif isinstance(self.ioPadsArg[line][-1],int): bits = range( self.ioPadsArg[line][-1] )