mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
Remove a useless cast
This commit is contained in:
parent
c678652b3c
commit
79b2ba5b4e
1 changed files with 2 additions and 3 deletions
|
|
@ -131,9 +131,8 @@ class ClientBase:
|
|||
:rtype: `.RegistrationResource`
|
||||
|
||||
"""
|
||||
return self.update_registration(regr, cast(messages.Registration,
|
||||
messages.Registration.from_json(
|
||||
{"status": "deactivated", "contact": None})))
|
||||
return self.update_registration(regr, messages.Registration.from_json(
|
||||
{"status": "deactivated", "contact": None}))
|
||||
|
||||
def deactivate_authorization(self,
|
||||
authzr: messages.AuthorizationResource
|
||||
|
|
|
|||
Loading…
Reference in a new issue