Skip to content

Commit

Permalink
Running ruff rule A to change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Neema-Joju committed Oct 23, 2024
1 parent 3ca67cf commit 052e67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-api/src/opentelemetry/baggage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def _is_valid_value(value: object) -> bool:
parts = str(value).split(";")
is_valid_value = _VALUE_PATTERN.fullmatch(parts[0]) is not None
if len(parts) > 1: # one or more properties metadata
for property in parts[1:]:
if _PROPERT_PATTERN.fullmatch(property) is None:
for prop in parts[1:]:
if _PROPERT_PATTERN.fullmatch(prop) is None:
is_valid_value = False
break
return is_valid_value
Expand Down

0 comments on commit 052e67e

Please sign in to comment.