You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2012/03/16 21:51:27 UTC

svn commit: r1301756 - /libcloud/trunk/test/compute/test_openstack.py

Author: tomaz
Date: Fri Mar 16 20:51:26 2012
New Revision: 1301756

URL: http://svn.apache.org/viewvc?rev=1301756&view=rev
Log:
Change the code so it works with all the supported versions.

Modified:
    libcloud/trunk/test/compute/test_openstack.py

Modified: libcloud/trunk/test/compute/test_openstack.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/compute/test_openstack.py?rev=1301756&r1=1301755&r2=1301756&view=diff
==============================================================================
--- libcloud/trunk/test/compute/test_openstack.py (original)
+++ libcloud/trunk/test/compute/test_openstack.py Fri Mar 16 20:51:26 2012
@@ -583,7 +583,8 @@ class OpenStack_1_1_Tests(unittest.TestC
         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')