From 9fde7fe476052aef75bd1ce104bca241f1b2cc68 Mon Sep 17 00:00:00 2001 From: Noah Swartz Date: Tue, 2 Feb 2016 16:52:12 -0800 Subject: [PATCH] don't ask for donations if renewing --- letsencrypt/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index 12430ae57..6c209f05f 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -383,7 +383,7 @@ def _report_new_cert(cert_path, fullchain_path): def _suggest_donation_if_appropriate(config): """Potentially suggest a donation to support Let's Encrypt.""" - if not config.staging: # --dry-run implies --staging + if not config.staging or config.verb == "renew": # --dry-run implies --staging reporter_util = zope.component.getUtility(interfaces.IReporter) msg = ("If you like Let's Encrypt, please consider supporting our work by:\n\n" "Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate\n"