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 01:23:22 UTC
svn commit: r1101267 - /incubator/libcloud/trunk/libcloud/common/rackspace.py
Author: tomaz
Date: Mon May 9 23:23:21 2011
New Revision: 1101267
URL: http://svn.apache.org/viewvc?rev=1101267&view=rev
Log:
Forgot to commit this file before.
Modified:
incubator/libcloud/trunk/libcloud/common/rackspace.py
Modified: incubator/libcloud/trunk/libcloud/common/rackspace.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/common/rackspace.py?rev=1101267&r1=1101266&r2=1101267&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/common/rackspace.py (original)
+++ incubator/libcloud/trunk/libcloud/common/rackspace.py Mon May 9 23:23:21 2011
@@ -47,14 +47,14 @@ class RackspaceBaseConnection(Connection
@property
def request_path(self):
- return self.get_request_path(url_key=self._url_key)
+ return self._get_request_path(url_key=self._url_key)
@property
def host(self):
# Default to server_host
- return self.get_host(url_key=self._url_key)
+ return self._get_host(url_key=self._url_key)
- def get_request_path(self, url_key):
+ def _get_request_path(self, url_key):
value_key = '__request_path_%s' % (url_key)
value = getattr(self, value_key, None)
@@ -64,7 +64,7 @@ class RackspaceBaseConnection(Connection
return value
- def get_host(self, url_key):
+ def _get_host(self, url_key):
value_key = '__%s' % (url_key)
value = getattr(self, value_key, None)