summaryrefslogtreecommitdiffstats
path: root/base/common/python/pki/systemcert.py
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2014-10-27 09:37:48 -0400
committerAde Lee <alee@redhat.com>2014-10-27 14:26:39 -0400
commit8d8e33bc282d8ceae4ea9da4546c9c7d25984fd9 (patch)
tree8332a9230ba521b80b02572c5c893f8db67247b6 /base/common/python/pki/systemcert.py
parentae9494b4af8e4b9f39e7d478b1f95f5d40f55add (diff)
downloadpki-8d8e33bc282d8ceae4ea9da4546c9c7d25984fd9.tar.gz
pki-8d8e33bc282d8ceae4ea9da4546c9c7d25984fd9.tar.xz
pki-8d8e33bc282d8ceae4ea9da4546c9c7d25984fd9.zip
Updates to some python client classes for prettier API docs.
Added missing .rst annotations and missing docstrings. Added log file for sphinx runs.
Diffstat (limited to 'base/common/python/pki/systemcert.py')
-rw-r--r--base/common/python/pki/systemcert.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/base/common/python/pki/systemcert.py b/base/common/python/pki/systemcert.py
index 6986ba072..d59e07b3d 100644
--- a/base/common/python/pki/systemcert.py
+++ b/base/common/python/pki/systemcert.py
@@ -43,7 +43,11 @@ class SystemCertClient(object):
@pki.handle_exceptions()
def get_transport_cert(self):
- """ Return transport certificate """
+ """
+ Return transport certificate.
+
+ :return: pki.cert.CertData -- transport certificate data
+ """
url = self.cert_url + '/transport'
response = self.connection.get(url, self.headers)
cert_data = CertData.from_json(response.json())