1106
1115
credentials = self.get_credentials(scheme, host, port, user, path)
1107
1116
if credentials is not None:
1108
1117
password = credentials['password']
1111
1125
# Prompt user only if we could't find a password
1115
1129
prompt = '%s' % scheme.upper() + ' %(user)s@%(host)s password'
1116
1130
# Special handling for optional fields in the prompt