Skip to content

Commit 052e67e

Browse files
committed
Running ruff rule A to change variable name
1 parent 3ca67cf commit 052e67e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry-api/src/opentelemetry/baggage/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def _is_valid_value(value: object) -> bool:
121121
parts = str(value).split(";")
122122
is_valid_value = _VALUE_PATTERN.fullmatch(parts[0]) is not None
123123
if len(parts) > 1: # one or more properties metadata
124-
for property in parts[1:]:
125-
if _PROPERT_PATTERN.fullmatch(property) is None:
124+
for prop in parts[1:]:
125+
if _PROPERT_PATTERN.fullmatch(prop) is None:
126126
is_valid_value = False
127127
break
128128
return is_valid_value

0 commit comments

Comments
 (0)