lxml-stubs icon indicating copy to clipboard operation
lxml-stubs copied to clipboard

Fix ``_ErrorLog`` not iterable

Open nsoranzo opened this issue 2 years ago • 0 comments

Fix the following mypy error:

lib/galaxy/tool_util/linters/xsd.py:28: error: "_ErrorLog" has no attribute
"__iter__" (not iterable)  [attr-defined]
                for error in xsd.error_log:
                             ^~~~~~~~~~~~~

xref: https://github.com/galaxyproject/galaxy/pull/17081/files#r1490662640

nsoranzo avatar Feb 15 '24 14:02 nsoranzo