Skip to content
Browse files

Change the code so it works with all the supported versions.

git-svn-id: https://svn.apache.org/repos/asf/libcloud/trunk@1301756 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 54686bf commit a02f29a09a2d9a895e72ecbff7a765d51d73a6d5 @Kami Kami committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/compute/test_openstack.py
View
3 test/compute/test_openstack.py
@@ -583,7 +583,8 @@ def test_auth_token_without_base_url_raises_exception(self):
try:
self.driver_type(*self.driver_args, **kwargs)
self.fail('Expected failure setting auth token without base url')
- except LibcloudError as e:
+ except LibcloudError:
+ e = sys.exc_info()[1]
pass
else:
self.fail('Expected failure setting auth token without base url')

0 comments on commit a02f29a

Please sign in to comment.
Something went wrong with that request. Please try again.