mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
Merge pull request #2762 from letsencrypt/detect-defaults-cleanup
Minor cleanup
This commit is contained in:
@@ -318,7 +318,6 @@ class HelpfulArgumentParser(object):
|
|||||||
if parsed_args.server not in (flag_default("server"), constants.STAGING_URI):
|
if parsed_args.server not in (flag_default("server"), constants.STAGING_URI):
|
||||||
conflicts = ["--staging"] if parsed_args.staging else []
|
conflicts = ["--staging"] if parsed_args.staging else []
|
||||||
conflicts += ["--dry-run"] if parsed_args.dry_run else []
|
conflicts += ["--dry-run"] if parsed_args.dry_run else []
|
||||||
if not self.detect_defaults:
|
|
||||||
raise errors.Error("--server value conflicts with {0}".format(
|
raise errors.Error("--server value conflicts with {0}".format(
|
||||||
" and ".join(conflicts)))
|
" and ".join(conflicts)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user