Attempt to make mypy happy

This commit is contained in:
hroff-1902 2020-02-14 21:52:02 +03:00
parent 1bc26fd07a
commit c92e1d97d6

View File

@ -89,7 +89,7 @@ class IResolver:
continue
module_path = entry.resolve()
obj = next(cls._get_valid_object(module_path, object_name), None)
obj = next(cls._get_valid_object(module_path, object_name), None) # noqa
if obj:
return (obj, module_path)