Fix types
This commit is contained in:
parent
bbe2d1d387
commit
6cf0502beb
|
@ -492,7 +492,7 @@ class Registry(DataClassJsonMixin):
|
||||||
if includeProvides and type is Component:
|
if includeProvides and type is Component:
|
||||||
for m in self.iter(Component):
|
for m in self.iter(Component):
|
||||||
if name in m.provides:
|
if name in m.provides:
|
||||||
return m
|
return m # type: ignore
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue