def _suggest_donation_if_appropriate(config, action):
 if (config.staging or (config.verb == 'renew')):
  return
 if (action not in ['renew', 'newcert']):
  return
 reporter_util = zope.component.getUtility(interfaces.IReporter)
 msg = "If you like Certbot, please consider supporting our work by:\n\nDonating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate\nDonating to EFF:                    https://eff.org/donate-le\n\n"
 reporter_util.add_message(msg, reporter_util.LOW_PRIORITY)

def _suggest_donation_if_appropriate ( config , action ) : if ( config . staging or ( config . verb == 'renew' ) ) : return if ( action not in [ 'renew' , 'newcert' ] ) : return reporter_util = zope . component . getUtility ( interfaces . IReporter ) msg = "If you like Certbot, please consider supporting our work by:\n\nDonating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate\nDonating to EFF:                    https://eff.org/donate-le\n\n" reporter_util . add_message ( msg , reporter_util . LOW_PRIORITY )
potentially suggest a donation to support certbot .