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
This commit is contained in:
Brian Waldon
2012-08-08 10:08:33 -07:00
parent 127463e14d
commit 3a68f75b95
2 changed files with 1 additions and 15 deletions
-5
View File
@@ -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