Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Aug 27, 2024
1 parent 62b234d commit 268f011
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions brewtils/rest/publish_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ def register_command(self, topic: str, cmd) -> Topic:
if not hasattr(cmd, "_command"):
raise BrewtilsException(
(
f"Attempted to register command {getattr(cmd, '__name__', 'MISSING FUNC NAME')} "
"Attempted to register command "
f"{getattr(cmd, '__name__', 'MISSING FUNC NAME')} "
"that is not an annotated command"
)
)
Expand Down Expand Up @@ -245,7 +246,8 @@ def unregister_command(self, topic: str, cmd) -> Topic:
if not hasattr(cmd, "_command"):
raise BrewtilsException(
(
f"Attempted to register command {getattr(cmd, '__name__', 'MISSING FUNC NAME')} "
"Attempted to register command "
f"{getattr(cmd, '__name__', 'MISSING FUNC NAME')} "
"that is not an annotated command"
)
)
Expand Down

0 comments on commit 268f011

Please sign in to comment.