You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/04/22 22:06:23 UTC
svn commit: r937042 - /incubator/libcloud/trunk/libcloud/drivers/ec2.py
Author: pquerna
Date: Thu Apr 22 20:06:23 2010
New Revision: 937042
URL: http://svn.apache.org/viewvc?rev=937042&view=rev
Log:
set default path for eucalyptus
Modified:
incubator/libcloud/trunk/libcloud/drivers/ec2.py
Modified: incubator/libcloud/trunk/libcloud/drivers/ec2.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/ec2.py?rev=937042&r1=937041&r2=937042&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/ec2.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/ec2.py Thu Apr 22 20:06:23 2010
@@ -466,8 +466,9 @@ class EucNodeDriver(EC2NodeDriver):
def __init__(self, key, secret=None, secure=True, host=None, path=None, port=None):
super(EucNodeDriver, self).__init__(key, secret, secure, host, port)
- if path:
- self.path = path
+ if path is None:
+ path = "/services/Eucalyptus"
+ self.path = path
def list_locations(self):
raise NotImplementedError, \