diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-12-21 04:43:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-12-21 04:43:00 +0000 |
commit | ee710e7fc574f166a4f2f7a5b58d9670f6a7c7dc (patch) | |
tree | 9feb5dc93962cf4675032285b48a76de4ccd3831 /nova/crypto.py | |
parent | 1dc9d73cf0d79dc86064228ca4da23f00947b7e0 (diff) | |
parent | 65d9f80b5bfe9e94323f31f2d109670798774466 (diff) | |
download | nova-ee710e7fc574f166a4f2f7a5b58d9670f6a7c7dc.tar.gz nova-ee710e7fc574f166a4f2f7a5b58d9670f6a7c7dc.tar.xz nova-ee710e7fc574f166a4f2f7a5b58d9670f6a7c7dc.zip |
Merge "Update exceptions to pass correct kwargs."
Diffstat (limited to 'nova/crypto.py')
-rw-r--r-- | nova/crypto.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/crypto.py b/nova/crypto.py index 41e8e9869..b7caa1c6e 100644 --- a/nova/crypto.py +++ b/nova/crypto.py @@ -99,7 +99,7 @@ def fetch_ca(project_id=None): project_id = None ca_file_path = ca_path(project_id) if not os.path.exists(ca_file_path): - raise exception.CryptoCAFileNotFound(project_id=project_id) + raise exception.CryptoCAFileNotFound(project=project_id) with open(ca_file_path, 'r') as cafile: return cafile.read() @@ -161,7 +161,7 @@ def fetch_crl(project_id): project_id = None crl_file_path = crl_path(project_id) if not os.path.exists(crl_file_path): - raise exception.CryptoCRLFileNotFound(project_id) + raise exception.CryptoCRLFileNotFound(project=project_id) with open(crl_file_path, 'r') as crlfile: return crlfile.read() |