Author: tomaz
Date: Thu Mar 22 06:53:02 2012
New Revision: 1303667

URL: http://svn.apache.org/viewvc?rev=1303667&view=rev
Log:
Remove trailing slash from the path. This patch has been contributed by James E.
Blair and is part of LIBCLOUD-171.

Modified:
    libcloud/trunk/libcloud/common/openstack.py

Modified: libcloud/trunk/libcloud/common/openstack.py
URL: 
http://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/openstack.py?rev=1303667&r1=1303666&r2=1303667&view=diff
==============================================================================
--- libcloud/trunk/libcloud/common/openstack.py (original)
+++ libcloud/trunk/libcloud/common/openstack.py Thu Mar 22 06:53:02 2012
@@ -187,7 +187,7 @@ class OpenStackAuthConnection(Connection
         return self.authenticate_2_0_with_body(reqbody)
 
     def authenticate_2_0_with_body(self, reqbody):
-        resp = self.request('/v2.0/tokens/',
+        resp = self.request('/v2.0/tokens',
                     data=reqbody,
                     headers={'Content-Type': 'application/json'},
                     method='POST')


Reply via email to