From 268f0116881256db4dd9e55d9d753e6181508469 Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:06:31 -0400 Subject: [PATCH] formatting --- brewtils/rest/publish_client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/brewtils/rest/publish_client.py b/brewtils/rest/publish_client.py index 4e32932b..2c44eb9d 100644 --- a/brewtils/rest/publish_client.py +++ b/brewtils/rest/publish_client.py @@ -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" ) ) @@ -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" ) )