Skip to content

Commit

Permalink
Remove none check on attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed Dec 20, 2023
1 parent 2c837aa commit 92d9896
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions newrelic/core/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,6 @@ def resolve_logging_context_attributes(attr_dict, attribute_filter, attr_prefix,
c_attrs = attr_class()

for attr_name, attr_value in attr_dict.items():
if attr_value is None:
continue

dest = attribute_filter.apply(attr_name, DST_LOG_EVENT_CONTEXT_DATA)

if dest & DST_LOG_EVENT_CONTEXT_DATA:
Expand Down

0 comments on commit 92d9896

Please sign in to comment.