← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339849] Re: Cleanup dict.update(single elem dict)

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => juno-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1339849

Title:
  Cleanup dict.update(single elem dict)

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  There's several places in the code where this type of thing exists:

          form_data.update({'vpnservice_id': vpnservice.id})

  better would be this:

          form_data['vpnservice_id'] = vpnservice.id

  
  This type of thing bothers me, so I'm going to clean it up.

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


References