Commit f9fba83b by David Hotham Committed by GitHub

fix: remove dead authenticator code (#5889)

parent 9932e260
...@@ -74,15 +74,6 @@ class Publisher: ...@@ -74,15 +74,6 @@ class Publisher:
resolved_cert = cert or certificates.cert or certificates.verify resolved_cert = cert or certificates.cert or certificates.verify
resolved_client_cert = client_cert or certificates.client_cert resolved_client_cert = client_cert or certificates.client_cert
# Requesting missing credentials but only if there is not a client cert defined.
if not resolved_client_cert and hasattr(self._io, "ask"):
if username is None:
username = self._io.ask("Username:")
# skip password input if no username is provided, assume unauthenticated
if username and password is None:
password = self._io.ask_hidden("Password:")
self._uploader.auth(username, password) self._uploader.auth(username, password)
if repository_name == "pypi": if repository_name == "pypi":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment