f05e1e3497
* api/versions.py: HTTP body is bytes, encode JSON to UTF-8 on Python 3 * urlsafe_encrypt(): replace str with six.binary_type, encode plaintext to UTF-8 if it is Unicode * urlsafe_decrypt(): replace str with six.binary_type, decode result from UTF-8 on Python 3 * MetadefIndex: replace map() with a list comprehension to get a list on Python 3, map() returns an iterator on Python 3 * test_artifact_type_definition_framework: skip sort() test on Python 3 because int and str are not comparable * test_cache_middleware: HTTP body is bytes, replace '' with b'' * test_misc: add checks on the result type of urlsafe_encrypt() and urlsafe_decrypt(). On Python 3, encode plaintext to UTF-8 to compare it to ciphertext. Comparing bytes and str raises a TypeError when python3 is run with the -bb command line option. * tox.ini: add to following glance.tests.unit tests to Python 3.4 - test_artifact_type_definition_framework - test_cache_middleware - test_db_metadef - test_misc - test_policy - test_search - test_versions Change-Id: Id47c5e9ba761a61d1cb80b65b0b6238f4a331c8c |
||
---|---|---|
doc/source | ||
etc | ||
glance | ||
rally-jobs | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
pylintrc | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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: