mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:15:42 +02:00
Do not list the name twice. (#7689)
This commit is contained in:
committed by
Adrien Ferrand
parent
6e07e8b5c0
commit
91ce42ce9c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user