mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
deprecated check whether account can be reconfigured
This commit is contained in:
@@ -708,8 +708,9 @@ class Account(object):
|
|||||||
"""Start configuration process and return a Configtracker instance
|
"""Start configuration process and return a Configtracker instance
|
||||||
on which you can block with wait_finish() to get a True/False success
|
on which you can block with wait_finish() to get a True/False success
|
||||||
value for the configuration process.
|
value for the configuration process.
|
||||||
|
|
||||||
|
:param reconfigure: deprecated, doesn't need to be checked anymore.
|
||||||
"""
|
"""
|
||||||
assert self.is_configured() == reconfigure
|
|
||||||
if not self.get_config("addr") or not self.get_config("mail_pw"):
|
if not self.get_config("addr") or not self.get_config("mail_pw"):
|
||||||
raise MissingCredentials("addr or mail_pwd not set in config")
|
raise MissingCredentials("addr or mail_pwd not set in config")
|
||||||
configtracker = ConfigureTracker(self)
|
configtracker = ConfigureTracker(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user