1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-06-01 14:32:34 +02:00

abstract: use NotImplementedError instead of NotImplemented

This commit is contained in:
Markus 2019-02-22 10:32:36 +01:00
parent d6f8f29e82
commit f853001aea

View File

@ -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):