OpenStack Image Management (Glance) Client
Go to file
d34dh0r53 01caf4e734 Strip json and html from error messages
Error messages were being passed with either JSON or HTML formatting
leading to an unpleasant user experience. This strips the JSON or HTML
tags and presents the clean error message to the user.

Rewrote the lispy function to be more pythonic, added test cases
and cleaned up some pep8 violations.

Removed commented out cruft from a previous version of this
patch.

Changed the HTML details from a set to a list in order to ensure
the ordering of the exception details.

Added code to eliminate the duplicate detail messages from the list
and reordered the assertion string to match actual output.

Refactored duplicate elimination code to be more readable and
reliable.

Some reworking of the duplication elimination loop to make it
more readable.

Removed unneeded conditional to filter out empty elements.

Change-Id: I79985b3e305cb30328a3c16b025315a8e969243d
Closes-Bug: 1398838
2015-02-16 10:01:53 -06:00
doc/source Add release notes for 0.15.0 2014-12-11 16:45:46 +00:00
glanceclient Strip json and html from error messages 2015-02-16 10:01:53 -06:00
tests Strip json and html from error messages 2015-02-16 10:01:53 -06:00
tools Add bash completion to glance client 2014-08-22 12:14:10 +02:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Add a tox job for generating docs 2014-07-24 17:44:37 -04:00
.gitreview Added gitreview file. 2012-04-03 20:50:44 -06:00
.mailmap Add support for location parameters in v2 commands 2014-06-16 21:56:41 +00:00
.testr.conf Migrate to testr. 2013-01-16 18:39:18 -05:00
CONTRIBUTING.rst Add CONTRIBUTING.rst 2014-07-01 15:01:36 +08:00
HACKING.rst Make HACKING.rst DRYer 2013-11-11 10:52:07 -08:00
LICENSE Basic get/list operations work 2012-03-26 22:48:48 -07:00
MANIFEST.in Update to latest oslo-version. 2013-02-07 05:10:08 -06:00
README.rst Simplify docs and provide 'News' on index.rst 2012-08-15 22:14:09 -04:00
openstack-common.conf Remove py3k module 2014-04-28 18:23:46 +02:00
requirements.txt Updated from global requirements 2015-01-09 18:35:33 +00:00
run_tests.sh Start using Pyflakes and Hacking 2013-06-22 16:00:26 +02:00
setup.cfg Add wheels section to the setup.cfg 2014-06-30 08:53:29 +02:00
setup.py Updated from global requirements 2014-04-30 02:46:18 +00:00
test-requirements.txt Updated from global requirements 2015-01-09 18:35:33 +00:00
tox.ini Merge "Work toward Python 3.4 support and testing" 2014-09-13 07:19:29 +00:00

README.rst

Python bindings to the OpenStack Images API

This is a client library for Glance built on the OpenStack Images API. It provides a Python API (the glanceclient module) and a command-line tool (glance). This library fully supports the v1 Images API, while support for the v2 API is in progress.

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki. The master repository is on GitHub.

See release notes and more at http://docs.openstack.org/developer/python-glanceclient/.