Skip to content

Commit

Permalink
Merge pull request #212 from edmorley/add-missing-punctuation
Browse files Browse the repository at this point in the history
Add missing punctuation to error message
  • Loading branch information
pradyunsg committed Jun 26, 2024
2 parents 4c73b3f + 5c989ba commit c5dc091
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/3.6/get-pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
min_version = (3, 6)
if this_python < min_version:
message_parts = [
"This script does not work on Python {}.{}".format(*this_python),
"This script does not work on Python {}.{}.".format(*this_python),
"The minimum supported Python version is {}.{}.".format(*min_version),
"Please use https://bootstrap.pypa.io/pip/{}.{}/get-pip.py instead.".format(*this_python),
]
Expand Down
2 changes: 1 addition & 1 deletion public/3.7/get-pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
min_version = (3, 7)
if this_python < min_version:
message_parts = [
"This script does not work on Python {}.{}".format(*this_python),
"This script does not work on Python {}.{}.".format(*this_python),
"The minimum supported Python version is {}.{}.".format(*min_version),
"Please use https://bootstrap.pypa.io/pip/{}.{}/get-pip.py instead.".format(*this_python),
]
Expand Down
2 changes: 1 addition & 1 deletion public/get-pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
min_version = (3, 8)
if this_python < min_version:
message_parts = [
"This script does not work on Python {}.{}".format(*this_python),
"This script does not work on Python {}.{}.".format(*this_python),
"The minimum supported Python version is {}.{}.".format(*min_version),
"Please use https://bootstrap.pypa.io/pip/{}.{}/get-pip.py instead.".format(*this_python),
]
Expand Down
2 changes: 1 addition & 1 deletion templates/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
min_version = {minimum_supported_version}
if this_python < min_version:
message_parts = [
"This script does not work on Python {{}}.{{}}".format(*this_python),
"This script does not work on Python {{}}.{{}}.".format(*this_python),
"The minimum supported Python version is {{}}.{{}}.".format(*min_version),
"Please use https://bootstrap.pypa.io/pip/{{}}.{{}}/get-pip.py instead.".format(*this_python),
]
Expand Down

0 comments on commit c5dc091

Please sign in to comment.