Skip to content

Commit 1a9df0a

Browse files
fix lint
1 parent 0463862 commit 1a9df0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datadog_lambda/tracing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,9 @@ def extract_context_from_sqs_or_sns_event_or_context(
332332
# Do not want to set checkpoint with "" arn
333333
if source_arn:
334334
_dsm_set_checkpoint(
335-
None, "sqs" if event_source.equals(EventTypes.SQS) else "sns", source_arn
335+
None,
336+
"sqs" if event_source.equals(EventTypes.SQS) else "sns",
337+
source_arn,
336338
)
337339
return extract_context_from_lambda_context(lambda_context)
338340
except Exception as e:

0 commit comments

Comments
 (0)