OpenStack Image Management (Glance)
Go to file
Drew Varner 62b5ebc718 Assert problems in Glance raised by Bandit
Fix all assert problems raised by Bandit. Asserts are potentially
problematic, since Python optimization sometimes removes them, so code
needs to remain safe and functional without the assert.

Two asserts are safe to skip, so they are deleted for improved error
messages. Three asserts are probably necessary, and are converted to
exceptions. Two asserts are probably necessary, and are instead made to
fail safely, and `# nosec` is added to the assert line.

This also enables the assert test in bandit's configuration.

Change-Id: Ic69a204ceb15cac234c6b6bca3d950256a98016d
Partial-bug: 1511862
2015-12-07 12:38:06 -06:00
doc/source Capitalize 'glance' in db.rst 2015-12-04 23:20:30 +08:00
etc Add the Docker container format 2015-12-01 16:42:51 +00:00
glance Assert problems in Glance raised by Bandit 2015-12-07 12:38:06 -06:00
rally-jobs Merge "Add the Docker container format" 2015-12-03 05:10:52 +00:00
releasenotes add "unreleased" release notes page 2015-11-09 20:32:14 +00:00
tools Change string generation mechanism for info logging 2015-09-30 02:20:37 +03: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 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 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 Assert problems in Glance raised by Bandit 2015-12-07 12:38:06 -06:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
requirements.txt Updated from global requirements 2015-12-06 10:39:11 +00:00
run_tests.sh Remove old traces of the oslo-incubator 2015-09-09 09:11:05 +02:00
setup.cfg Merge "Automated bandit checks in glance" 2015-12-04 03:09:37 +00:00
setup.py Updated from global requirements 2015-09-24 01:01:31 +00:00
test-requirements.txt Updated from global requirements 2015-12-01 05:00:56 +00:00
tox.ini Merge "Run py34 env first when launching tests" 2015-12-07 00:36:03 +00: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: