open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.67k stars 571 forks source link

Fix public symbol checker flaky case #3825

Closed aabmass closed 3 months ago

aabmass commented 3 months ago

If a PR has only symbols that were removed then re-added (e.g. moving to a different part of the same file), the checker complains with an empty message. This fixes the script to not fail in that case.

Tested on https://github.com/open-telemetry/opentelemetry-python/pull/3822