def report_new_account(acc, config):
 reporter = zope.component.queryUtility(interfaces.IReporter)
 if (reporter is None):
  return
 reporter.add_message('Your account credentials have been saved in your Certbot configuration directory at {0}. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.'.format(config.config_dir), reporter.MEDIUM_PRIORITY)
 if acc.regr.body.emails:
  recovery_msg = 'If you lose your account credentials, you can recover through e-mails sent to {0}.'.format(', '.join(acc.regr.body.emails))
  reporter.add_message(recovery_msg, reporter.MEDIUM_PRIORITY)

def report_new_account ( acc , config ) : reporter = zope . component . queryUtility ( interfaces . IReporter ) if ( reporter is None ) : return reporter . add_message ( 'Your account credentials have been saved in your Certbot configuration directory at {0}. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.' . format ( config . config_dir ) , reporter . MEDIUM_PRIORITY ) if acc . regr . body . emails : recovery_msg = 'If you lose your account credentials, you can recover through e-mails sent to {0}.' . format ( ', ' . join ( acc . regr . body . emails ) ) reporter . add_message ( recovery_msg , reporter . MEDIUM_PRIORITY )
informs the user about their new acme account .