Files
python-keystoneclient/keystoneclient/v2_0
Jay Pipes a6102fe0b9 Ensure JSON isn't read on no HTTP response body
This patch moves the json.loads(body) call in the
HTTP response handling to after the check for non-
200-300 return codes. This gets rid of the
ValueError exception raise when you hit, for instance,
a 400 or 404.

Also changes a number of logger.exception() calls to
logger.debug() calls, since some exceptions are expected
and should not be logged as exceptions per-se.

fixes LP bug#1067512

Change-Id: If66fb1846ddc19da5bc2f15c6e0dd09019a56932
2012-10-17 14:52:48 -04:00
..
2011-11-10 17:24:48 -08:00
2012-06-01 18:07:26 -07:00
2012-06-01 13:55:50 -04:00
2012-06-01 13:55:50 -04:00
2012-06-07 17:44:24 +00:00