diff options
author | jortel <devnull@localhost> | 2010-05-11 22:06:53 +0000 |
---|---|---|
committer | jortel <devnull@localhost> | 2010-05-11 22:06:53 +0000 |
commit | d1fee3670cd7f04dabe6a8e853bf8269be147d62 (patch) | |
tree | cc6d33fee60bff3f5a6314d79426918ce087f71f | |
parent | 593a4fb44b559a7faf5f8bc67a14cfa68159be81 (diff) | |
download | suds-d1fee3670cd7f04dabe6a8e853bf8269be147d62.tar.gz |
Fix ImportDoctor onLoad() plugin API.
-rw-r--r-- | suds/xsd/doctor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/suds/xsd/doctor.py b/suds/xsd/doctor.py index 2ac3521..857dc99 100644 --- a/suds/xsd/doctor.py +++ b/suds/xsd/doctor.py @@ -214,7 +214,7 @@ class ImportDoctor(Doctor, Plugin): def onLoad(self, context): root = context.root - if root.get('name') == 'schema': + if Namespace.xsd(root.namespace()): self.examine(root) else: pass
\ No newline at end of file |