commit | 9c9fa41fa17863cca5b09ef592d26b4f4469bb96 | [log] [tgz] |
---|---|---|
author | Matt Riedemann <mriedem@us.ibm.com> | Wed Jun 19 18:33:47 2013 -0700 |
committer | Matt Riedemann <mriedem@us.ibm.com> | Wed Jun 19 18:37:19 2013 -0700 |
tree | a6cace2d2f9143df7d51619c907b71bf2c3ee7bd | |
parent | 53cdccce3750d4553a62b9e01176812c6e432b3f [diff] |
Actually raise BadRequest if create_subnet fails Second attempt at fixing a problem in the Tempest network test base setup where it tries to create a subnet and if it fails it needs to raise a BadRequest rather than an UnboundLocalError from trying to use the body variable before it's declared. Fixes bug 1192767 Change-Id: I2c97723b1056ae34e68a5acb5283c291a5dcfad1