simplified fake interface

This commit is contained in:
iLLiCiTiT 2021-07-28 12:05:52 +02:00
parent bf4d85d587
commit d1dfa251d9

View file

@ -53,7 +53,7 @@ class _InterfacesClass(_ModuleClass):
if attr_name not in self.__attributes__:
# Fake Interface if is not missing
self.__attributes__[attr_name] = type(
"{}".format(attr_name),
attr_name,
(MissingInteface, ),
{}
)