← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254929] Re: ML2 plugin: raise SystemExit instead of sys.exit

 

the sys.exit() raises SystemExit.

** Changed in: neutron
    Milestone: icehouse-1 => None

** Changed in: neutron
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1254929

Title:
  ML2 plugin: raise SystemExit instead of sys.exit

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  In the following modules:
  ./neutron/plugins/ml2/managers.py:70:                sys.exit(1)
  ./neutron/plugins/ml2/drivers/type_vlan.py:93:            sys.exit(1)

  
  raise SystemExit should be used instead.
  The current code might, if hit by unit tests, will end up killing the tester thread without producing any output.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1254929/+subscriptions