From ebee006d2fd57194db61566a29d08739d19738b5 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 7 Mar 2015 12:34:33 -0600 Subject: Do the deprecation dance --- src/cryptography/hazmat/primitives/interfaces/__init__.py | 7 ------- src/cryptography/utils.py | 3 +-- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'src') diff --git a/src/cryptography/hazmat/primitives/interfaces/__init__.py b/src/cryptography/hazmat/primitives/interfaces/__init__.py index 6913ace9..1e7b1215 100644 --- a/src/cryptography/hazmat/primitives/interfaces/__init__.py +++ b/src/cryptography/hazmat/primitives/interfaces/__init__.py @@ -386,10 +386,3 @@ class MACContext(object): Checks if the generated message authentication code matches the signature. """ - -CMACContext = utils.deprecated( - MACContext, - __name__, - "The CMACContext interface has been renamed to MACContext", - utils.DeprecatedIn07 -) diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py index 253dea55..0f8cbb27 100644 --- a/src/cryptography/utils.py +++ b/src/cryptography/utils.py @@ -10,8 +10,7 @@ import sys import warnings -DeprecatedIn07 = DeprecationWarning -DeprecatedIn08 = PendingDeprecationWarning +DeprecatedIn08 = DeprecationWarning def read_only_property(name): -- cgit v1.2.3