Skip to content

Commit

Permalink
fix: spantypes in ddtrace1.0 (#3192)
Browse files Browse the repository at this point in the history
fixes flake8 error introduced by a merge conflict
## Checklist
- [ ] Added to the correct milestone.
- [ ] Tests provided or description of manual testing performed is included in the code or PR.
- [ ] Library documentation is updated.
- [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR).
  • Loading branch information
mabdinur authored and brettlangdon committed Feb 1, 2022
1 parent afa33eb commit fb209be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ def process_trace(self, trace):
return trace

local_root = trace[0]._local_root
return trace if local_root and local_root.span_type == SpanTypes.TEST.value else None
return trace if local_root and local_root.span_type == SpanTypes.TEST else None

0 comments on commit fb209be

Please sign in to comment.