Skip to content

Commit

Permalink
Fem: [skip ci] fix runtime failure when using Py3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 24, 2022
1 parent 1e4da60 commit 3dfdc68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Fem/femsolver/elmer/sifio.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def _getOnlyElement(self, collection):
def _isCollection(self, data):
return (
not isinstance(data, six.string_types)
and isinstance(data, collections.Iterable)
and isinstance(data, collections.abc.Iterable)
)

def _checkScalar(self, dataType):
Expand Down

0 comments on commit 3dfdc68

Please sign in to comment.