diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2019-01-23 22:00:14 -0500 |
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-01-23 21:00:14 -0600 |
| commit | 5c07d7a87c54a8532b49ba41febe8d526e5734d8 (patch) | |
| tree | f7b8e6ac665e960d141bc6e836eac47a6bcb1018 /src/cryptography/utils.py | |
| parent | 908121176f037c618b1f774ab969ad7f67ea3020 (diff) | |
| download | cryptography-5c07d7a87c54a8532b49ba41febe8d526e5734d8.tar.gz | |
Fixes #4734 -- Deal with deprecated things (#4736)
* Fixes #4734 -- Deal with deprecated things
- Make year based aliases of PersistentlyDeprecated so we can easily assess age
- Removed encode/decode rfc6979 signature
- Removed Certificate.serial
* Unused import
Diffstat (limited to 'src/cryptography/utils.py')
| -rw-r--r-- | src/cryptography/utils.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py index cbbae3a79..567600fb6 100644 --- a/src/cryptography/utils.py +++ b/src/cryptography/utils.py @@ -20,9 +20,8 @@ class CryptographyDeprecationWarning(UserWarning): # Several APIs were deprecated with no specific end-of-life date because of the # ubiquity of their use. They should not be removed until we agree on when that # cycle ends. -PersistentlyDeprecated = CryptographyDeprecationWarning -DeprecatedIn21 = CryptographyDeprecationWarning -DeprecatedIn23 = CryptographyDeprecationWarning +PersistentlyDeprecated2017 = CryptographyDeprecationWarning +PersistentlyDeprecated2018 = CryptographyDeprecationWarning DeprecatedIn25 = CryptographyDeprecationWarning |
