summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorTushar Patil <tushar.vitthal.patil@gmail.com>2011-07-14 15:53:16 -0700
committerTushar Patil <tushar.vitthal.patil@gmail.com>2011-07-14 15:53:16 -0700
commit0655f97b2cce1e28485ddb4c37a854a65cbbc276 (patch)
tree2451a01383ce3552f3aa9dd446c5a15593fc9752 /nova/api
parent2ecbdd46d48bafbeb451875ba6e7f67276d83602 (diff)
added integrated unit testcases and minor fixes
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/create_instance_helper.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/api/openstack/create_instance_helper.py b/nova/api/openstack/create_instance_helper.py
index 0337dd5bb..32b1b2f7c 100644
--- a/nova/api/openstack/create_instance_helper.py
+++ b/nova/api/openstack/create_instance_helper.py
@@ -329,9 +329,6 @@ class CreateInstanceHelper(object):
expl = _("Bad networks format: network id should "
"be integer (%s)") % network_id
raise faults.Fault(exc.HTTPBadRequest(explanation=expl))
- except TypeError:
- expl = _('Bad networks format')
- raise faults.Fault(exc.HTTPBadRequest(explanation=expl))
return networks