Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2022-02-15 01:54:03 +0300
committerGitHub <noreply@github.com>2022-02-15 01:54:03 +0300
commit6f85eb928c2c6f670b169ec4f86c296f6d15ba71 (patch)
tree2d62ccd7ff12392137db99f8c6b5bdcfd48eacee /certbot-nginx
parenta1b2e973c00a92efa8de1687e1b3c33d4ed76e70 (diff)
Use literals wherever possible. (#9194)
* Use literals wherever possible. These were found with flake8-comprehensions.
Diffstat (limited to 'certbot-nginx')
-rw-r--r--certbot-nginx/certbot_nginx/_internal/constants.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/certbot-nginx/certbot_nginx/_internal/constants.py b/certbot-nginx/certbot_nginx/_internal/constants.py
index aa242903e..295679e2c 100644
--- a/certbot-nginx/certbot_nginx/_internal/constants.py
+++ b/certbot-nginx/certbot_nginx/_internal/constants.py
@@ -14,11 +14,11 @@ elif platform.system() in ('NetBSD',):
else:
server_root_tmp = LINUX_SERVER_ROOT
-CLI_DEFAULTS: Dict[str, Any] = dict(
- server_root=server_root_tmp,
- ctl="nginx",
- sleep_seconds=1
-)
+CLI_DEFAULTS: Dict[str, Any] = {
+ "server_root": server_root_tmp,
+ "ctl": "nginx",
+ "sleep_seconds": 1
+}
"""CLI defaults."""