]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Process request exceptions while fetching template
authorLiang Chen <cbjchen@cn.ibm.com>
Wed, 21 Aug 2013 15:24:27 +0000 (23:24 +0800)
committerLiang Chen <cbjchen@cn.ibm.com>
Wed, 21 Aug 2013 15:24:27 +0000 (23:24 +0800)
commit6c14d8e55de0c3045ee37e7d37c963cc35ade21d
tree4145b8992460c1102045b6f980a25a972c3dee4d
parent044a8aaf69d9874edfafb1c7658055141545d1cc
Process request exceptions while fetching template

requests raises subclass of requests.exception.RequestException, not
IOError. And the code explicitly calls raise_for_status to avoid HTTP
errors being silently ignored.

Fixes bug #1214429

Change-Id: Ib3ea7e4fea459a231f0bb7f113e3d66983b006c2
heat/common/urlfetch.py
heat/tests/test_urlfetch.py