OpenStack Image Management (Glance)
Go to file
Gábor Antal 8a8e5bf56c Extracted HTTP response codes to constants in tests
There are several places in the source code where
HTTP response codes are used as numeric values.

These values are used from six.moves and the
numeric values are replaced by constants.

All of the used status codes were replaced with symbolic constants
from six.moves.http_client.
More about six.moves.http_client can be found at [2],
under the table "Supported renames:".

Also, this change improves code readibility.

This patchset does not extract numeric values from
the code itself, but it can be found at [1].

[1]: Ib9e26dcea927e96e65c626c18421621d3a29a64d
[2]: https://pythonhosted.org/six/#module-six.moves

Change-Id: Idfc7b043552f428f01ac3e47b270ee0639a8f5bc
Closes-Bug: #1520159
2016-10-06 15:17:06 +00:00
api-ref/source Merge "[api-ref] configure LogABug feature" 2016-10-04 02:28:10 +00:00
doc/source dev-docs: mark v1 as deprecated 2016-09-30 07:21:40 -04:00
etc Merge "Keep consistent order for regenerated configs" 2016-09-13 20:28:53 +00:00
glance Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
rally-jobs Merge "Add 'vhdx' disk format." 2016-08-01 18:32:59 +00:00
releasenotes Correct releasenote for Ib900bbc05cb9ccd90c6f56ccb4bf2006e30cdc80 2016-09-27 15:59:02 -04:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:26:41 +00:00
.gitignore Add reno for release notes management 2015-11-04 18:21:25 +00: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 Update CONTRIBUTING.rst 2016-09-26 18:51:07 -04:00
HACKING.rst Corrected section underline 2016-04-15 11:40:59 +05:30
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Remove old traces of the oslo-incubator 2015-09-09 09:11:05 +02: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
bandit.yaml Move bandit into pep8 2016-02-26 08:12:45 +01:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
requirements.txt Updated from global requirements 2016-09-30 10:16:39 +00:00
setup.cfg revert warnerrors before gate breaks 2016-03-14 09:17:13 -04:00
setup.py Updated from global requirements 2015-09-24 01:01:31 +00:00
test-requirements.txt Updated from global requirements 2016-09-30 10:16:39 +00:00
tox.ini WADL to RST migration (part 1) 2016-06-21 13:29:24 -04: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: