MCPcopy Create free account
hub / github.com/apache/cloudstack / getText

Function getText

cloud-cli/cloudapis/cloud.py:123–127  ·  view source on GitHub ↗
(nodelist)

Source from the content-addressed store, hash-verified

121 '''creates smart function objects for every method in the commands.xml file'''
122
123 def getText(nodelist):
124 rc = []
125 for node in nodelist:
126 if node.nodeType == node.TEXT_NODE: rc.append(node.data)
127 return ''.join(rc)
128
129 # FIXME figure out installation and packaging
130 xmlfile = os.path.join("/etc/cloud/cli/","commands.xml")

Callers 1

load_dynamic_methodsFunction · 0.70

Calls 2

appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected