osc-lib/osc_lib
Julien Lavesque a3c0f2d56c Fix find_resource exception handling on numeric names with kwargs
The problem is in the way find_resource handle exception for the specific case
where name_or_id is an integer value.
The except should pass on type(ex).__name__ TypeError

This patch fix this bug
Closes-Bug: #1672806

Change-Id: Iee4cbd10c6414d6a3bb613c5992485a15764ef21
(cherry picked from commit ce84378a28)
2017-10-19 10:18:08 +00:00
..
api Calls to federated service providers using Keystone-to-Keystone 2016-12-21 11:43:17 -05:00
cli Include OSC additions 2017-01-04 11:54:23 -06:00
command Add deprecated_option_warning() method to Command 2017-01-04 11:11:11 -06:00
tests Merge "Calls to federated service providers using Keystone-to-Keystone" 2017-01-11 03:08:49 +00:00
__init__.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00
clientmanager.py Calls to federated service providers using Keystone-to-Keystone 2016-12-21 11:43:17 -05:00
exceptions.py Clean up foundation copyrights 2016-06-14 09:46:16 -05:00
i18n.py Begin moving bits to osc_lib 2016-05-12 16:07:24 -05:00
logs.py Backport log fix 2016-06-08 11:09:08 -05:00
session.py Begin moving bits to osc_lib 2016-05-12 16:07:24 -05:00
shell.py Include OSC additions 2 2017-01-04 16:14:16 -06:00
utils.py Fix find_resource exception handling on numeric names with kwargs 2017-10-19 10:18:08 +00:00
version.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00