Skip to content

Commit

Permalink
Fixed #3798 -- use the correct stacklevel on this warning (#3803)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and reaperhulk committed Jul 21, 2017
1 parent 36a4d47 commit d10480b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptography/hazmat/backends/openssl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ def _warn_sign_verify_deprecated():
"signer and verifier have been deprecated. Please use sign "
"and verify instead.",
utils.PersistentlyDeprecated,
stacklevel=2
stacklevel=3
)

0 comments on commit d10480b

Please sign in to comment.