openstack/python-keystoneclient — pull request #8 by reidrac (2012-11-13 12:35:19+00:00)
Title: adminURL may not be available, prevent crash

If there's no adminURL endpoint in the serviceCatalog (ie. in a objtect-store,
in Rackspace identity service there's onlu publicURL and internalURL), unconditionally
accessing the first element of management_url property of AccesInfo may raise:

Authorization Failed: 'NoneType' object has no attribute '__getitem__'

This change verifies that management_url is a tuple, otherwise management_url will be None.