← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
     Assignee: Matthew D. Wood (woodm1979)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Matthew D. Wood (woodm1979)

-- 
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):
  New

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


Follow ups

References