aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509/general_name.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptography/x509/general_name.py b/src/cryptography/x509/general_name.py
index 65ba75c2..26f389a5 100644
--- a/src/cryptography/x509/general_name.py
+++ b/src/cryptography/x509/general_name.py
@@ -59,7 +59,7 @@ class RFC822Name(object):
"RFC822Name values should be passed as an A-label string. "
"This means unicode characters should be encoded via "
"idna. Support for passing unicode strings (aka U-label) "
- " will be removed in a future version.",
+ "will be removed in a future version.",
utils.DeprecatedIn21,
stacklevel=2,
)
@@ -124,7 +124,7 @@ class DNSName(object):
"DNSName values should be passed as an A-label string. "
"This means unicode characters should be encoded via "
"idna. Support for passing unicode strings (aka U-label) "
- " will be removed in a future version.",
+ "will be removed in a future version.",
utils.DeprecatedIn21,
stacklevel=2,
)