4dc5dfdada
PEP-0274 introduced dict comprehensions to replace dict constructor with a sequence of key-pairs[1], these are twobenefits: First, it makes the code look neater. Second, it gains a micro-optimization. sahara dropped python 2.6 support in Kilo, we can leverage this now. Note: This commit doesn't handle dict constructor with kwargs. This commit also adds a hacking rule. [1]http://legacy.python.org/dev/peps/pep-0274/ Closes-Bug: #1430786 Change-Id: I507f2c520ddab1ae3d8487bf7aea497306eb6eb2 |
||
---|---|---|
.. | ||
resources | ||
__init__.py | ||
config_helper.py | ||
edp_engine.py | ||
plugin.py | ||
run_scripts.py | ||
scaling.py |