aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-04-11 15:52:04 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-04-11 15:52:04 -0400
commite613e5d8d922d7617409b878b3c2450eb9d21877 (patch)
tree66efb817c87dc3e2a494eb28a5397041cf246f04 /src
parent1fb35c9e0dc716571dca894075c59f3ed60f47f3 (diff)
downloadcryptography-e613e5d8d922d7617409b878b3c2450eb9d21877.tar.gz
cryptography-e613e5d8d922d7617409b878b3c2450eb9d21877.tar.bz2
cryptography-e613e5d8d922d7617409b878b3c2450eb9d21877.zip
let's make that repr actually good
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py
index b3f889e5..a50c0555 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -191,7 +191,7 @@ class Name(object):
return len(self._attributes)
def __repr__(self):
- return repr(self._attributes)
+ return "<Name({0})>".format(self._attributes)
OID_SUBJECT_DIRECTORY_ATTRIBUTES = ObjectIdentifier("2.5.29.9")