Skip to content

Commit

Permalink
apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
dianagudu committed Dec 11, 2024
1 parent a606724 commit d723385
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ofcli/fedtree.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ async def discover(self, http_session: aiohttp.ClientSession) -> None:
entity_id=URL(sub), http_session=http_session
)
)
if subordinate.entity.get('sub') == self.entity.get('sub'):
raise InternalException(f"Entity is listed as its own subordinate.")
if subordinate.entity.get("sub") == self.entity.get("sub"):
raise InternalException(
f"Entity is listed as its own subordinate."
)
await subordinate.discover(http_session)
# logger.debug(f"Adding subordinate {subordinate.entity.get('sub')}")
# logger.debug(f"{subordinate.entity}")
Expand Down

0 comments on commit d723385

Please sign in to comment.