mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Do not list the name twice. (#7689)
This commit is contained in:
parent
6e07e8b5c0
commit
91ce42ce9c
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue