Consider dict comprehensions instead of using 'dict()'

Bug #1538519 reported by Illia Khudoshyn on 2016-01-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
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) on 2016-01-28
Changed in rally:
assignee: nobody → Bo Chi (bochi-michael)

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  Edit
Everyone can see this information.

Other bug subscribers