mirror of
https://github.com/moepman/acertmgr.git
synced 2025-01-01 04:21:51 +01:00
abstract: use NotImplementedError instead of NotImplemented
This commit is contained in:
parent
d6f8f29e82
commit
f853001aea
@ -12,14 +12,14 @@ class AbstractChallengeHandler:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_challenge_type():
|
def get_challenge_type():
|
||||||
raise NotImplemented
|
raise NotImplementedError
|
||||||
|
|
||||||
# @return datetime after which the challenge is valid
|
# @return datetime after which the challenge is valid
|
||||||
def create_challenge(self, domain, thumbprint, token):
|
def create_challenge(self, domain, thumbprint, token):
|
||||||
raise NotImplemented
|
raise NotImplementedError
|
||||||
|
|
||||||
def destroy_challenge(self, domain, thumbprint, token):
|
def destroy_challenge(self, domain, thumbprint, token):
|
||||||
raise NotImplemented
|
raise NotImplementedError
|
||||||
|
|
||||||
# Optional: Indicate when a challenge request is imminent
|
# Optional: Indicate when a challenge request is imminent
|
||||||
def start_challenge(self):
|
def start_challenge(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user