From c01954a9af22810580ac37b98e781e6cea244c42 Mon Sep 17 00:00:00 2001 From: Johannes Tax Date: Tue, 12 Mar 2024 10:12:48 +0100 Subject: [PATCH] Linter issue --- .../src/opentelemetry/semconv/model/semantic_convention.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py b/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py index 12c82df3..54ed5c58 100644 --- a/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py +++ b/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py @@ -129,8 +129,7 @@ def _get_attributes(self, templates: Optional[bool]): def comparison_key(attr): if attr.requirement_level: return attr.requirement_level.value, attr.fqn - else: - return RequirementLevel.RECOMMENDED.value, attr.fqn + return RequirementLevel.RECOMMENDED.value, attr.fqn return sorted( [