mirror of
https://github.com/moepman/acertmgr.git
synced 2024-12-29 09: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
|
||||
def get_challenge_type():
|
||||
raise NotImplemented
|
||||
raise NotImplementedError
|
||||
|
||||
# @return datetime after which the challenge is valid
|
||||
def create_challenge(self, domain, thumbprint, token):
|
||||
raise NotImplemented
|
||||
raise NotImplementedError
|
||||
|
||||
def destroy_challenge(self, domain, thumbprint, token):
|
||||
raise NotImplemented
|
||||
raise NotImplementedError
|
||||
|
||||
# Optional: Indicate when a challenge request is imminent
|
||||
def start_challenge(self):
|
||||
|
Loading…
Reference in New Issue
Block a user