Consider dict comprehensions instead of using 'dict()'

Bug #1538519 reported by Illia Khudoshyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
In Progress
Wishlist
Bo Chi

Bug Description

Instead of constructing a list and then handing it over to the `dict` constructor, set or dict comprehension should be used.

rally/plugins/openstack/context/api_versions.py
rally/task/sla.py

Changed in rally:
status: New → Triaged
importance: Undecided → Wishlist
Bo Chi (bochi-michael)
Changed in rally:
assignee: nobody → Bo Chi (bochi-michael)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (master)

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

Changed in rally:
status: Triaged → In Progress
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.