4 Commits

Author SHA1 Message Date
Dolph Mathews
10c5961426 Make __all__ immutable
Using a mutable type implies that it's acceptable for the set of
publicly-accessible attributes to be mutated at runtime, which defeats
their intended purpose of documenting the public interface. Tuples are
immutable.

Change-Id: Ib3ab93224ba240040b08ece481ef5ba620c3f658
2015-10-01 18:21:31 +00:00
TerryHowe
6be3ae70cd Clean up exception messages
In https://review.openstack.org/#/c/212670/ there was some
discussion about cleaning up these exception messages.  Here
it is.

Change-Id: I6bf1d7351f5fd90451f6d0d7c7e2575e584cbc62
2015-08-18 12:18:03 -06:00
TerryHowe
c7f60421a0 Use human readable exception messages
Currently, the exceptions are nothing if converted to strings.
The doc strings are human reable and useful to users, so use them.
Before:

    $ python examples/connection.py
    ERROR: Exception raised:
    $

After:

    $ python examples/connection.py
    ERROR: Exception raised: Could not find requested endpoint in Service Catalog.
    $

Change-Id: I1300e411c93bdfb17975e4f61e925b5b6474434c
2015-08-13 11:24:33 -06:00
Morgan Fainberg
a0000e4e9a Move to the keystoneauth1 namespace
Conver from the keystoneauth namespace to keystoneauth1. This is to
ensure that is is possible to install all versions of keystoneauth
side-by-side.

Change-Id: Ibbaf11525980c8edb5968d8b8ee19c55094e77d8
2015-06-25 16:48:54 -07:00