← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1719275] [NEW] Linux Bridge bridge_mappings, remove unnecessary logic to retrieve bridge name

 

Public bug reported:

In [1], the function "get_existing_bridge_name" retrieves the value of a
dict using the method get. Before this, it checks if the key value used
is "True". This check is not needed using the dictionary "get" method.

[1]
https://github.com/openstack/neutron/blob/11.0.0.0rc3/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py#L155

** Affects: neutron
     Importance: Undecided
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: In Progress

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

Title:
  Linux Bridge bridge_mappings, remove unnecessary logic to retrieve
  bridge name

Status in neutron:
  In Progress

Bug description:
  In [1], the function "get_existing_bridge_name" retrieves the value of
  a dict using the method get. Before this, it checks if the key value
  used is "True". This check is not needed using the dictionary "get"
  method.

  [1]
  https://github.com/openstack/neutron/blob/11.0.0.0rc3/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py#L155

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


Follow ups