mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
py26 compat
This commit is contained in:
parent
fadad74d48
commit
4b829603d0
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class _Constant(jose.JSONDeSerializable):
|
|||
def from_json(cls, value):
|
||||
if value not in cls.POSSIBLE_NAMES:
|
||||
raise jose.DeserializationError(
|
||||
'{} not recognized'.format(cls.__name__))
|
||||
'{0} not recognized'.format(cls.__name__))
|
||||
return cls.POSSIBLE_NAMES[value]
|
||||
|
||||
def __repr__(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue