Update more deprecated python imports.

Signed-off-by: Max von Forell <max@vonforell.de>
This commit is contained in:
Max von Forell 2021-12-26 15:40:05 +01:00
parent 38b853b66a
commit 127463a2c5
2 changed files with 3 additions and 3 deletions

View file

@ -152,7 +152,7 @@ def CommandProvider(cls):
'Conditions argument must take a list ' + \
'of functions. Found %s instead.'
if not isinstance(command.conditions, collections.Iterable):
if not isinstance(command.conditions, collections.abc.Iterable):
msg = msg % (command.name, type(command.conditions))
raise MachError(msg)