[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a
Garrett Holmstrom
gholms at fedoraproject.org
Sun Jun 16 02:31:30 UTC 2013
The following commit has been merged in the master branch:
commit f610cba843261ae4d93a932ba6034acd4cb4b853
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Fri May 24 12:47:08 2013 -0700
Fix XML parsing breakage in euca-describe-*
diff --git a/euca2ools/commands/euca/__init__.py b/euca2ools/commands/euca/__init__.py
index 875f17b..f32ab67 100644
--- a/euca2ools/commands/euca/__init__.py
+++ b/euca2ools/commands/euca/__init__.py
@@ -208,17 +208,6 @@ class EucalyptusRequest(AWSQueryRequest, TabifyingMixin):
def __init__(self, **kwargs):
AWSQueryRequest.__init__(self, **kwargs)
- def parse_response(self, response_body):
- response = AWSQueryRequest.parse_response(self, response_body)
- # Compute cloud controller responses enclose their useful data inside
- # FooResponse elements. If that's all we have after stripping out
- # RequestId then just return its contents.
- useful_keys = filter(lambda x: x != 'RequestId', response.keys())
- if len(useful_keys) == 1:
- return response[useful_keys[0]] or {}
- else:
- return response
-
def print_resource_tag(self, resource_tag, resource_id):
resource_type = RESOURCE_TYPE_MAP.lookup(resource_id)
print self.tabify(['TAG', resource_type, resource_id,
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list