Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Brett Cannon <brett@python.org>
  • Loading branch information
mayeut and brettcannon authored Mar 8, 2022
1 parent 79f56a2 commit 3b2a173
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packaging/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,8 @@ def mac_platforms(
if version is None:
version = cast("MacVersion", tuple(map(int, version_str.split(".")[:2])))
if version == (10, 16):
# when built against an older macOS SDK, python will report macOS 10.16
# instead of the real version
# let's get the real version
# When built against an older macOS SDK, Python will report macOS 10.16
# instead of the real version.
version_str = subprocess.run(
[
sys.executable,
Expand Down

0 comments on commit 3b2a173

Please sign in to comment.