133
133
if self._user and self._user != 'anonymous' and \
134
134
password is None: # '' is a valid password
135
135
auth = config.AuthenticationConfig()
137
'ftp', self._host, self._port, user=self._user,
138
139
if config_credentials is not None:
139
140
password = config_credentials['password']