Skip to content

Commit b55fb86

Browse files
adjust comment format
1 parent 74a3de8 commit b55fb86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

datadog_lambda/tracing.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,11 @@ def extract_context_from_sqs_or_sns_event_or_context(event, lambda_context):
220220
try:
221221
context = _extract_context_from_eventbridge_sqs_event(event)
222222
if _is_context_complete(context):
223-
# Unsupported DSM context propagation method
224-
return context, None
223+
return (
224+
context,
225+
# Unsupported DSM context propagation method
226+
None,
227+
)
225228
except Exception:
226229
logger.debug("Failed extracting context as EventBridge to SQS.")
227230

0 commit comments

Comments
 (0)