diff options
| author | Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> | 2020-07-26 02:29:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-25 20:29:01 -0400 |
| commit | a58c3d809a654bf0abf4a35d2bd934d4a2d63e67 (patch) | |
| tree | f5957a09c3351a57628a5b47ec9fc7e8c3e12abc /src/cryptography/__init__.py | |
| parent | 2329b415459eb0e7d177b782a93ed4704d679e98 (diff) | |
| download | cryptography-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__.py | 1 |
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, ) |
