libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1125687 - /incubator/libcloud/trunk/libcloud/common/base.py
Date Sat, 21 May 2011 12:39:09 GMT
Author: tomaz
Date: Sat May 21 12:39:09 2011
New Revision: 1125687

URL: http://svn.apache.org/viewvc?rev=1125687&view=rev
Log:
Fix a bug with using the incorrect URL when performing a raw request.

Modified:
    incubator/libcloud/trunk/libcloud/common/base.py

Modified: incubator/libcloud/trunk/libcloud/common/base.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/common/base.py?rev=1125687&r1=1125686&r2=1125687&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/common/base.py (original)
+++ incubator/libcloud/trunk/libcloud/common/base.py Sat May 21 12:39:09 2011
@@ -379,7 +379,7 @@ class ConnectionKey(object):
             # @TODO: Should we just pass File object as body to request method
             # instead of dealing with splitting and sending the file ourselves?
             if raw:
-                self.connection.putrequest(method, action)
+                self.connection.putrequest(method, url)
 
                 for key, value in headers.iteritems():
                     self.connection.putheader(key, value)



Mime
View raw message