diff options
author | Brian Waldon <bcwaldon@gmail.com> | 2012-08-08 10:08:33 -0700 |
---|---|---|
committer | Brian Waldon <bcwaldon@gmail.com> | 2012-08-08 11:28:31 -0700 |
commit | 3a68f75b95ed7807aee6cc245ea175ac35a09b11 (patch) | |
tree | e7a8132b0ea2a3bef58b507d1dd33c944a1ee646 /glanceclient/exc.py | |
parent | 127463e14dd61507f97b2bf19aa318e3a6e5d591 (diff) | |
download | python-glanceclient-3a68f75b95ed7807aee6cc245ea175ac35a09b11.tar.gz |
Simplify v2 schema lookup
We don't need to look at the container of available schemas in order
to get the one we want. Remove glanceclient.exc.SchemaNotFound as it can
no longer be raised.
Change-Id: Ib49ad58c4fdfc9bc9f535115674d92040a97db65
Diffstat (limited to 'glanceclient/exc.py')
-rw-r--r-- | glanceclient/exc.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/glanceclient/exc.py b/glanceclient/exc.py index be0e001..aa37324 100644 --- a/glanceclient/exc.py +++ b/glanceclient/exc.py @@ -33,11 +33,6 @@ class EndpointNotFound(Exception): pass -class SchemaNotFound(KeyError): - """Could not find schema""" - pass - - class InvalidEndpoint(ValueError): """The provided endpoint could not be used""" pass |