aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-11-11 10:17:58 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-11-11 23:17:58 +0800
commitf7486f6a3c4490b069448e9a130cfc585c495886 (patch)
tree8fedbafde7f91e9c038d0db2b257e3a45b463088 /src/cryptography/x509
parent270933c1a2afa0aa60409946bb7319d85fd60059 (diff)
downloadcryptography-f7486f6a3c4490b069448e9a130cfc585c495886.tar.gz
cryptography-f7486f6a3c4490b069448e9a130cfc585c495886.tar.bz2
cryptography-f7486f6a3c4490b069448e9a130cfc585c495886.zip
nit: remove double space in deprecation warning (#4018)
Diffstat (limited to 'src/cryptography/x509')
-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,
)