diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-04-15 12:57:03 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-04-15 12:57:03 -0400 |
commit | 7fee3d69a5bc9954c3fe1e8cb6b4bef884319ac9 (patch) | |
tree | 46351599010216cf825635577201cd4c9e5c3339 /src | |
parent | 27c750de99df6818b5bc0414dd7995fb514f5c28 (diff) | |
parent | b511ba8a45d4af2744b46161836a7998ff821bbc (diff) | |
download | cryptography-7fee3d69a5bc9954c3fe1e8cb6b4bef884319ac9.tar.gz cryptography-7fee3d69a5bc9954c3fe1e8cb6b4bef884319ac9.tar.bz2 cryptography-7fee3d69a5bc9954c3fe1e8cb6b4bef884319ac9.zip |
Merge pull request #1850 from reaperhulk/update-x509-repr
improve KeyUsage repr
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/x509.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py index a9b6f8bd..b533b434 100644 --- a/src/cryptography/x509.py +++ b/src/cryptography/x509.py @@ -353,8 +353,8 @@ class KeyUsage(object): encipher_only = self.encipher_only decipher_only = self.decipher_only except ValueError: - encipher_only = "N/A" - decipher_only = "N/A" + encipher_only = None + decipher_only = None return ("<KeyUsage(digital_signature={0.digital_signature}, " "content_commitment={0.content_commitment}, " |