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:
authorBrad Warren <bmw@eff.org>2020-01-16 22:35:05 +0300
committerBrad Warren <bmw@eff.org>2020-01-16 22:35:05 +0300
commitd0b4740e5296098b7f2865fc20d760aba1297784 (patch)
tree7abd165bdb8449fbe702af84e9630b4682e729ac
parent6e07e8b5c0f3c6da2ae03a2a63adc7ce8e15a202 (diff)
Do not list the name twice.no-duplicate-field-name
-rw-r--r--acme/acme/messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/acme/acme/messages.py b/acme/acme/messages.py
index c824c43cf..1d907e5fc 100644
--- a/acme/acme/messages.py
+++ b/acme/acme/messages.py
@@ -245,7 +245,7 @@ class Directory(jose.JSONDeSerializable):
try:
return self[name.replace('_', '-')]
except KeyError as error:
- raise AttributeError(str(error) + ': ' + name)
+ raise AttributeError(str(error))
def __getitem__(self, name):
try: