aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-11 10:49:20 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-11 10:49:20 -0500
commit9aaef9e516ae1c54c79f07b0441c21c29f8aeb15 (patch)
treed41497a099fe548f4cf9ff0b40083e0f4b406401 /src
parent3f8ddeb3fa8d66710dfbcef54061f5ce9c10c2f4 (diff)
downloadcryptography-9aaef9e516ae1c54c79f07b0441c21c29f8aeb15.tar.gz
cryptography-9aaef9e516ae1c54c79f07b0441c21c29f8aeb15.tar.bz2
cryptography-9aaef9e516ae1c54c79f07b0441c21c29f8aeb15.zip
use !r for explicit_text in NoticeReference repr
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 b559ae03..02277658 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -525,7 +525,7 @@ class UserNotice(object):
def __repr__(self):
return (
"<UserNotice(notice_reference={0.notice_reference}, explicit_text="
- "{0.explicit_text})>".format(self)
+ "{0.explicit_text!r})>".format(self)
)
notice_reference = utils.read_only_property("_notice_reference")