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 2011/05/10 00:46:41 UTC
svn commit: r1101257 - /incubator/libcloud/trunk/libcloud/common/base.py
Author: tomaz
Date: Mon May 9 22:46:41 2011
New Revision: 1101257
URL: http://svn.apache.org/viewvc?rev=1101257&view=rev
Log:
Also pass host to the connect method.
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=1101257&r1=1101256&r2=1101257&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/common/base.py (original)
+++ incubator/libcloud/trunk/libcloud/common/base.py Mon May 9 22:46:41 2011
@@ -370,7 +370,7 @@ class ConnectionKey(object):
# Removed terrible hack...this a less-bad hack that doesn't execute a
# request twice, but it's still a hack.
- self.connect()
+ self.connect(host=host)
try:
# @TODO: Should we just pass File object as body to request method
# instead of dealing with splitting and sending the file ourselves?