summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2013-06-14 21:23:06 -0400
committerRussell Bryant <rbryant@redhat.com>2013-06-14 21:23:06 -0400
commite212c68684f516d670b3e7376b6abd028539aa3e (patch)
tree501da24c32a04ff0fa2c0fd42f0357928c0b4827 /nova/exception.py
parent77595f8e08a61507ad5c7c990651fd4f8131c150 (diff)
downloadnova-e212c68684f516d670b3e7376b6abd028539aa3e.tar.gz
nova-e212c68684f516d670b3e7376b6abd028539aa3e.tar.xz
nova-e212c68684f516d670b3e7376b6abd028539aa3e.zip
Remove unused cert db method.
nova.db.sqlalchemy.api contained a certificate_get() method that was unused. It was not in the main db.api. This method was also the only reference to CertificateNotFound, so remove that as well. Change-Id: Iba9aece2302e2f175e5d60e48b23959885a81c8d
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 68cf1f991..44e7709c5 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -673,10 +673,6 @@ class KeypairNotFound(NotFound):
message = _("Keypair %(name)s not found for user %(user_id)s")
-class CertificateNotFound(NotFound):
- message = _("Certificate %(certificate_id)s not found.")
-
-
class ServiceNotFound(NotFound):
message = _("Service %(service_id)s could not be found.")