deb-sahara/sahara/plugins/spark
ChangBo Guo(gcb) 4dc5dfdada Leverage dict comprehension in PEP-0274
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
2015-04-02 01:51:41 +00:00
..
resources Spark Temporary Job Data Retention and Cleanup 2015-01-27 13:14:33 -05:00
__init__.py Add Spark plugin to Sahara 2014-05-27 19:34:39 +00:00
config_helper.py Leverage dict comprehension in PEP-0274 2015-04-02 01:51:41 +00:00
edp_engine.py Implement job-types endpoint support methods for Spark plugin 2015-03-17 17:58:31 -04:00
plugin.py Implement job-types endpoint support methods for Spark plugin 2015-03-17 17:58:31 -04:00
run_scripts.py Migrate to oslo.log 2015-01-27 11:09:10 +03:00
scaling.py Implement poll util and plugin poll util 2015-03-17 11:33:57 +03:00