wait until this account has successfully configured.
(self, account)
| 309 | self.log("started configure on", account) |
| 310 | |
| 311 | def wait_one_configured(self, account): |
| 312 | """wait until this account has successfully configured.""" |
| 313 | if self._account2state[account] == self.CONFIGURING: |
| 314 | while True: |
| 315 | acc = self._pop_config_success() |
| 316 | if acc == account: |
| 317 | break |
| 318 | self.init_imap(acc) |
| 319 | self.init_logging(acc) |
| 320 | acc._evtracker.consume_events() |
| 321 | |
| 322 | def bring_online(self): |
| 323 | """Wait for all accounts to become ready to receive messages. |
no test coverage detected