(self)
Save password to the password file.
Save password to the password file.
Save password to the password file .
def _do_save_password(self):
        """Save password to the password file."""
        try:
            sec = secrets.SecretIsbg(filename=self.passwdfilename,
                                     imapset=self.imapsets)
            sec.set("password", self.imapsets.passwd)
            del sec
            self.logger.info('Note that passwords are saved in plain-text.')
        except Exception:  # pylint: disable=broad-except
            self.logger.exception('Error saving pw!')
def _do_save_password ( self ) : try : sec = secrets . SecretIsbg ( filename = self . passwdfilename , imapset = self . imapsets ) sec . set ( "password" , self . imapsets . passwd ) del sec self . logger . info ( 'Note that passwords are saved in plain-text.' ) except Exception : # pylint: disable=broad-except self . logger . exception ( 'Error saving pw!' )