diff options
author | Christian Schwede <christian.schwede@enovance.com> | 2014-11-25 13:11:51 +0100 |
---|---|---|
committer | Christian Schwede <christian.schwede@enovance.com> | 2014-11-25 13:15:08 +0100 |
commit | 47546eb14522b70ebb765986560d914a88916276 (patch) | |
tree | 869ed027330a9cbdb4cd42aed1608f4156a8b1eb /swiftclient/multithreading.py | |
parent | 025da14326d29051119fff50424748e41bf4be42 (diff) | |
download | python-swiftclient-47546eb14522b70ebb765986560d914a88916276.tar.gz |
Show warning when auth_version >= 2 and keystoneclient is missing
Swiftclient hangs forever without any reasonable hint if someone
uses a recent version of swiftclient together with auth version
2 or later. The reason for this is the sys.exit() call in a thread
- the main thread never exists, and swift just waits forever.
Raising a ClientException instead of calling sys.exit() fixes this
and returns the desired information back to the user.
Change-Id: I1fdff85da2dd4b883d337d6098b1695e448d6f2b
Diffstat (limited to 'swiftclient/multithreading.py')
0 files changed, 0 insertions, 0 deletions