import schema as content
(self, definitions, d)
| 330 | log.debug('imported (WSDL):\n%s', d) |
| 331 | |
| 332 | def import_schema(self, definitions, d): |
| 333 | """ import schema as <types/> content """ |
| 334 | if not len(definitions.types): |
| 335 | types = Types.create(definitions) |
| 336 | definitions.types.append(types) |
| 337 | else: |
| 338 | types = definitions.types[-1] |
| 339 | types.root.append(d.root) |
| 340 | log.debug('imported (XSD):\n%s', d.root) |
| 341 | |
| 342 | def __gt__(self, other): |
| 343 | return False |