summaryrefslogtreecommitdiffstats
path: root/ipalib/x509.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-01-19 17:33:01 -0500
committerRob Crittenden <rcritten@redhat.com>2010-01-19 17:33:28 -0500
commit28321f7a2ce998c772ccc9a59b26d796e047ec81 (patch)
treee71a46ba91479240bb5368a71bcc0ffd63b5e14a /ipalib/x509.py
parent30bc14a15ea9ad0962f386f1e97ef44657b80cdf (diff)
downloadfreeipa-28321f7a2ce998c772ccc9a59b26d796e047ec81.tar.gz
freeipa-28321f7a2ce998c772ccc9a59b26d796e047ec81.tar.xz
freeipa-28321f7a2ce998c772ccc9a59b26d796e047ec81.zip
Correct some comment errors
Diffstat (limited to 'ipalib/x509.py')
-rw-r--r--ipalib/x509.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipalib/x509.py b/ipalib/x509.py
index b570d0758..3c38a354e 100644
--- a/ipalib/x509.py
+++ b/ipalib/x509.py
@@ -222,10 +222,9 @@ def get_subject_components(certificate, type=PEM):
Load an X509.3 certificate and get the subject.
Return a tuple of a certificate subject.
- (('CN', u'www.example.com', ('O', u'IPA'))
+ (('CN', u'www.example.com'), ('O', u'IPA'))
"""
- # Grab the subject, reverse it, combine it and return it
x509cert = load_certificate(certificate, type)
return x509cert.get_subject().get_components()