Missing constructor when raising NoNetworkAvailable

Bug #1364392 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Eugene Nikanorov

Bug Description

code in type_tunnel.py type_vlan.py incorrectly throws exception class instead of exception class instance.

Some other places need to be fixed as well.

tags: added: low-hanging-fruit
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118338

Changed in neutron:
status: New → In Progress
description: updated
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/118338
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3146837b7aea1a6c767131ad9aebaac2acb765df
Submitter: Jenkins
Branch: master

commit 3146837b7aea1a6c767131ad9aebaac2acb765df
Author: Eugene Nikanorov <email address hidden>
Date: Tue Sep 2 17:22:34 2014 +0400

    Throw exception instances instead of classes

    Prefer single style of throwing instances and not classes.

    Change-Id: If159afcd092de5381309cbe217d64145ed5b45b4
    Closes-Bug: #1364392

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.