OpenStack Image Management (Glance)
Go to file
ChangBo Guo(gcb) 9d4225289b Leverage dict comprehension in PEP-0274
PEP-0274 introduced dict comprehensions to replace dict constructor
with a sequence of key-pairs[1], these are two benefits:
- First, it makes the code look neater.
- Second, it gains a micro-optimization.

Glance 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/

Co-Authored-By: ChangBo Guo(gcb) <eric.guo@easystack.cn>
Co-Authored-By: Kamil Rykowski <kamil.rykowski@intel.com>
Change-Id: I0ba408f9c616dcdb09618f6256db76b9facc0c1d
2015-05-28 01:46:02 +00:00
doc/source Fix typo in documentation 2015-05-15 13:48:13 +00:00
etc Merge "Taskflow engine mode should be parallel in sample conf" 2015-05-25 14:03:57 +00:00
glance Leverage dict comprehension in PEP-0274 2015-05-28 01:46:02 +00:00
rally-jobs Update rally-jobs files 2014-11-25 01:18:12 +04:00
tools Leverage dict comprehension in PEP-0274 2015-05-28 01:46:02 +00:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Git ignore covhtml directory 2015-02-26 12:50:23 +01:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 11:02:16 -04:00
.mailmap Add a mailmap entry for myself 2014-02-11 12:00:44 +08:00
.testr.conf Switch to testrepository for running tests 2014-01-29 08:30:55 +08:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst Leverage dict comprehension in PEP-0274 2015-05-28 01:46:02 +00:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Update version code from oslo. 2013-01-13 14:27:48 -08:00
README.rst Fix rendering of readme document 2015-01-07 11:07:06 +00:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
openstack-common.conf Use graduated oslo.policy 2015-03-17 23:50:02 -05:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
requirements.txt Updated from global requirements 2015-05-08 11:08:35 +02:00
run_tests.sh Provide a quick way to run flake8 2014-12-29 02:15:36 -05:00
setup.cfg Merge "Remove unneeded setup hook from setup.cfg" 2015-05-01 17:06:42 +00:00
setup.py Updated from global requirements 2014-06-19 13:54:45 -04:00
test-requirements.txt Updated from global requirements 2015-05-08 11:08:35 +02:00
tox.ini Catalog Index Service 2015-03-26 10:12:27 -07:00

README.rst

Glance

Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images.

Use the following resources to learn more: