(nodelist)
| 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") |
no test coverage detected