diff --git a/glanceclient/common/exceptions.py b/glanceclient/common/exceptions.py index fd8ed74d..d88f94b8 100644 --- a/glanceclient/common/exceptions.py +++ b/glanceclient/common/exceptions.py @@ -7,10 +7,6 @@ class CommandError(Exception): pass -class AuthorizationFailure(Exception): - pass - - class NoTokenLookupException(Exception): """This form of authentication does not support looking up endpoints from an existing token.""" diff --git a/glanceclient/shell.py b/glanceclient/shell.py index 0ae5bd01..4f2c0053 100644 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -283,8 +283,6 @@ class OpenStackImagesShell(object): args.func(client, args) except exc.Unauthorized: raise exc.CommandError("Invalid OpenStack Identity credentials.") - except exc.AuthorizationFailure: - raise exc.CommandError("Unable to authorize user") @utils.arg('command', metavar='', nargs='?', help='Display help for ')