diff options
author | Abhishek Koneru <akoneru@redhat.com> | 2014-05-23 12:17:38 -0400 |
---|---|---|
committer | Abhishek Koneru <akoneru@redhat.com> | 2014-06-03 02:39:12 -0400 |
commit | 5b7c76832dc72c85d9dd9db16f861f3283fa7eb0 (patch) | |
tree | 9d721618324da863e9ac635ae5779225c8d33aeb /base/common/python/pki/account.py | |
parent | 1d772fad871e4d0e0500f266e99d17973b4c3dca (diff) | |
download | pki-5b7c76832dc72c85d9dd9db16f861f3283fa7eb0.tar.gz pki-5b7c76832dc72c85d9dd9db16f861f3283fa7eb0.tar.xz pki-5b7c76832dc72c85d9dd9db16f861f3283fa7eb0.zip |
Addressed comments given for patches 92-2, 93, 94.
Addressed review comments for the patches that
implement the CertClient and a part of ProfileClient.
Also includes the pycharm project files in pki/.idea.
Diffstat (limited to 'base/common/python/pki/account.py')
-rw-r--r-- | base/common/python/pki/account.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/common/python/pki/account.py b/base/common/python/pki/account.py index 1ab5b2ddb..0916ec7cc 100644 --- a/base/common/python/pki/account.py +++ b/base/common/python/pki/account.py @@ -18,6 +18,7 @@ # Copyright (C) 2013 Red Hat, Inc. # All rights reserved. # +import pki class AccountClient: @@ -25,8 +26,10 @@ class AccountClient: def __init__(self, connection): self.connection = connection + @pki.handle_exceptions() def login(self): self.connection.get('/rest/account/login') + @pki.handle_exceptions() def logout(self): self.connection.get('/rest/account/logout') |