Skip to content

Commit

Permalink
Reformat, remove vestigial line escape
Browse files Browse the repository at this point in the history
  • Loading branch information
ndevenish committed Oct 30, 2024
1 parent c850f96 commit b624ee6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/workflows/recipe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import logging
import functools
import logging
from collections.abc import Callable
from typing import Any

Expand All @@ -17,7 +17,7 @@
"wrap_subscribe_broadcast",
]

logger = logging.getLogger('workflows.recipe')
logger = logging.getLogger("workflows.recipe")


def _wrap_subscription(
Expand Down Expand Up @@ -79,8 +79,10 @@ def unwrap_recipe(header, message):
# "First 1000 characters of header:\n%s\n" + \
# "First 1000 characters of message:\n%s",
# str(header)[:1000], str(message)[:1000])
logger.error("The input to this service is not a wrapped recipe. " \
"Unable to process incoming message.")
logger.error(
"The input to this service is not a wrapped recipe. "
"Unable to process incoming message."
)
transport_layer.nack(header)

if mangle_for_receiving:
Expand Down

0 comments on commit b624ee6

Please sign in to comment.