summaryrefslogtreecommitdiff
path: root/src/cryptography/__init__.py
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>2020-07-26 02:29:01 +0200
committerGitHub <noreply@github.com>2020-07-25 20:29:01 -0400
commita58c3d809a654bf0abf4a35d2bd934d4a2d63e67 (patch)
treef5957a09c3351a57628a5b47ec9fc7e8c3e12abc /src/cryptography/__init__.py
parent2329b415459eb0e7d177b782a93ed4704d679e98 (diff)
downloadcryptography-a58c3d809a654bf0abf4a35d2bd934d4a2d63e67.tar.gz
Emit the deprecation one level up the stack (#5348)
Ref: https://github.com/pyca/cryptography/issues/5335#issuecomment-661880248
Diffstat (limited to 'src/cryptography/__init__.py')
-rw-r--r--src/cryptography/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptography/__init__.py b/src/cryptography/__init__.py
index b66650638..f128502e2 100644
--- a/src/cryptography/__init__.py
+++ b/src/cryptography/__init__.py
@@ -37,4 +37,5 @@ if sys.version_info[0] == 2:
"it is now deprecated in cryptography, and will be removed in a "
"future release.",
CryptographyDeprecationWarning,
+ stacklevel=2,
)