Comment 1 for bug 1371924

Revision history for this message
wanghong (w-wanghong) wrote :

This is because "012345".isdigit() is True and keystoneclient raises HTTPClientError(https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/openstack/common/apiclient/exceptions.py#L462) rather than NotFound. So, the code https://github.com/openstack/python-openstackclient/blob/master/openstackclient/common/utils.py#L35 can not catch the excepted exception.