8e8dde2052148fea0135a19ad229da7114738024
Now if --os-image-api-version mistakenly contains a string then you will get a ValueError Example: $ glance --os-image-api-version hui ValueError: invalid literal for int() with base 10: 'hui' This code correctly handles this situation, prints a warning message and interrupts the execution of the client Change-Id: I4733578adfc70bd57afd5f0d4d361c8ef689a381 Closes-bug: 1401197
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 <http://wiki.openstack.org/HowToContribute>`_. The master repository is on `GitHub <http://github.com/openstack/python-glanceclient>`_. See release notes and more at `<http://docs.openstack.org/developer/python-glanceclient/>`_.
Description
Languages
Python
99.4%
Shell
0.6%