(response)
| 184 | def list(self, remote_path=root): |
| 185 | |
| 186 | def parse(response): |
| 187 | |
| 188 | try: |
| 189 | response_str = response.getvalue() |
| 190 | tree = etree.fromstring(response_str) |
| 191 | hrees = [unquote(hree.text) for hree in tree.findall(".//{DAV:}href")] |
| 192 | return [Urn(hree) for hree in hrees] |
| 193 | except etree.XMLSyntaxError: |
| 194 | return list() |
| 195 | |
| 196 | try: |
| 197 | directory_urn = Urn(remote_path, directory=True) |
nothing calls this directly
no test coverage detected