aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/utils.py
diff options
context:
space:
mode:
authorChelsea Winfree <chelsea.winfree@gmail.com>2016-06-02 21:15:54 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2016-06-02 21:15:54 -0700
commite295f3ab615775c3549b7bc2e051af5cff801619 (patch)
tree29b7faa37c505eb9493bb2d30cd97a731ae81351 /src/cryptography/utils.py
parent57515157fc0ecc0dd661dea523d1f1346c547c0c (diff)
downloadcryptography-e295f3ab615775c3549b7bc2e051af5cff801619.tar.gz
cryptography-e295f3ab615775c3549b7bc2e051af5cff801619.tar.bz2
cryptography-e295f3ab615775c3549b7bc2e051af5cff801619.zip
Add alias for Certificate serial as serial number (#2950)
* Add alias for Certificate serial as serial number * Adding deprecation to utils * Now with catch warnings and proper vers
Diffstat (limited to 'src/cryptography/utils.py')
-rw-r--r--src/cryptography/utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py
index 4c006278..d3e845ab 100644
--- a/src/cryptography/utils.py
+++ b/src/cryptography/utils.py
@@ -12,9 +12,11 @@ import sys
import warnings
-# the functions deprecated in 1.0 are on an arbitrarily extended deprecation
-# cycle and should not be removed until we agree on when that cycle ends.
+# the functions deprecated in 1.0 and 1.4 are on an arbitrarily extended
+# deprecation cycle and should not be removed until we agree on when that cycle
+# ends.
DeprecatedIn10 = DeprecationWarning
+DeprecatedIn14 = DeprecationWarning
def read_only_property(name):