diff options
author | Mads Jensen <mads.jensen@eficode.com> | 2021-02-22 01:23:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 01:23:42 +0300 |
commit | ef265eccaf125a51a8c260d28e2f501e1c3111dc (patch) | |
tree | 5b78d0dda3121f3234498ac67c87f397e6dd9334 /acme | |
parent | c0eccdd35845161ced2ba56f77131c05ae2634fd (diff) |
Remove import fallback for collections.abc (#8674)
Diffstat (limited to 'acme')
-rw-r--r-- | acme/acme/messages.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/acme/acme/messages.py b/acme/acme/messages.py index 038cda04b..44ecb143c 100644 --- a/acme/acme/messages.py +++ b/acme/acme/messages.py @@ -1,5 +1,6 @@ """ACME protocol messages.""" import json +from collections.abc import Hashable import josepy as jose @@ -10,13 +11,6 @@ from acme import jws from acme import util from acme.mixins import ResourceMixin -try: - from collections.abc import Hashable -except ImportError: # pragma: no cover - from collections import Hashable - - - OLD_ERROR_PREFIX = "urn:acme:error:" ERROR_PREFIX = "urn:ietf:params:acme:error:" |