Return a (user, account, password) tuple for given host.
(self, host)
| 164 | " the owner") |
| 165 | |
| 166 | def authenticators(self, host): |
| 167 | """Return a (user, account, password) tuple for given host.""" |
| 168 | if host in self.hosts: |
| 169 | return self.hosts[host] |
| 170 | elif 'default' in self.hosts: |
| 171 | return self.hosts['default'] |
| 172 | else: |
| 173 | return None |
| 174 | |
| 175 | def __repr__(self): |
| 176 | """Dump the class data in the format of a .netrc file.""" |
no outgoing calls
no test coverage detected