From b372e6763b0965b250916c6f27f92401b5804007 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 15 Apr 2015 11:05:24 -0400 Subject: improve KeyUsage repr fixes #1834 --- src/cryptography/x509.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 ("