cpython/Lib/ensurepip/__main__.py
Miss Islington (bot) eef49f5dd0 bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683)
Previously ensurepip would always report success, even if the
pip installation failed.
(cherry picked from commit 9adda0cdf8)

* Update version changed notice for backport
2017-09-22 06:45:37 -07:00

5 lines
88 B
Python

import ensurepip
import sys
if __name__ == "__main__":
sys.exit(ensurepip._main())