We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05240fc commit d7e638fCopy full SHA for d7e638f
src/ofcli/fedtree.py
@@ -37,6 +37,8 @@ async def discover(self, http_session: aiohttp.ClientSession) -> None:
37
entity_id=URL(sub), http_session=http_session
38
)
39
40
+ if subordinate.entity.get('sub') == self.entity.get('sub'):
41
+ raise InternalException(f"Entity is listed as its own subordinate.")
42
await subordinate.discover(http_session)
43
# logger.debug(f"Adding subordinate {subordinate.entity.get('sub')}")
44
# logger.debug(f"{subordinate.entity}")
0 commit comments