diff --git a/get-pip.py b/get-pip.py index 42f60bcd..1d93f418 100755 --- a/get-pip.py +++ b/get-pip.py @@ -87,6 +87,7 @@ def bootstrap(tmpdir=None): # Due to pip._internal.commands.commands_dict structure, a monkeypatch # seems the simplest workaround. install_parse_args = InstallCommand.parse_args + def cert_parse_args(self, args): # If cert isn't specified in config or environment, we provide our # own certificate through defaults. diff --git a/templates/default.py b/templates/default.py index 3cbd03ea..a3dd0d47 100644 --- a/templates/default.py +++ b/templates/default.py @@ -87,6 +87,7 @@ def bootstrap(tmpdir=None): # Due to pip._internal.commands.commands_dict structure, a monkeypatch # seems the simplest workaround. install_parse_args = InstallCommand.parse_args + def cert_parse_args(self, args): # If cert isn't specified in config or environment, we provide our # own certificate through defaults.