summaryrefslogtreecommitdiffstats
path: root/base/common/python/pki/systemcert.py
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2014-02-19 14:37:44 -0500
committerAde Lee <alee@redhat.com>2014-02-26 01:16:56 -0500
commitdb00ea3bee6b86ae662cfdb8b50cca4a8be82ef1 (patch)
tree37e7aa6e902761a22d6711c2e8b10710c6159028 /base/common/python/pki/systemcert.py
parent02e383c4f5b8debafec7ecd5a8ae57c32aabb4fa (diff)
downloadpki-db00ea3bee6b86ae662cfdb8b50cca4a8be82ef1.tar.gz
pki-db00ea3bee6b86ae662cfdb8b50cca4a8be82ef1.tar.xz
pki-db00ea3bee6b86ae662cfdb8b50cca4a8be82ef1.zip
Fix minor issues from review.
1. main function in SymKeyGenerationRequest does not use correct usages 2. from_dict -> from_json() for consistency
Diffstat (limited to 'base/common/python/pki/systemcert.py')
-rw-r--r--base/common/python/pki/systemcert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/common/python/pki/systemcert.py b/base/common/python/pki/systemcert.py
index 2f51de6f3..f91bbeca0 100644
--- a/base/common/python/pki/systemcert.py
+++ b/base/common/python/pki/systemcert.py
@@ -43,5 +43,5 @@ class SystemCertClient(object):
''' Return transport certificate '''
url = self.cert_url + '/transport'
response = self.connection.get(url, self.headers)
- cert_data = CertData.from_dict(response.json())
+ cert_data = CertData.from_json(response.json())
return cert_data.Encoded