Skip to content

Commit 3b38bed

Browse files
committed
removed unnecessary check for pypirc being present
1 parent 1961133 commit 3b38bed

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

devpi_ext/login.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
def devpiclient_get_password(url, username):
3131
"""See :py:func:`devpi.hookspecs.devpiclient_get_password`"""
3232
pypirc = os.path.join(os.path.expanduser('~'), '.pypirc')
33-
if not os.path.isfile(pypirc):
34-
return None
35-
3633
try:
3734
with open(pypirc) as fp:
3835
password = _find_password(fp, url, username)

0 commit comments

Comments
 (0)