mirror of
https://github.com/servo/servo.git
synced 2025-07-29 10:10:34 +01:00
Update more deprecated python imports.
Signed-off-by: Max von Forell <max@vonforell.de>
This commit is contained in:
parent
38b853b66a
commit
127463a2c5
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue