summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorpab <devnull@localhost>2009-07-16 19:00:12 +0000
committerpab <devnull@localhost>2009-07-16 19:00:12 +0000
commit50e9d8e1e52456cc86d96590f25bf3a7404b86a1 (patch)
tree5eac388a0f2ef59c052318e94b75a1aa65048c82 /scripts
parentd59c8550af8fe5bc3f76bc6fc53f58badcb42e3f (diff)
Show module path in dump
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pyxbdump3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/pyxbdump b/scripts/pyxbdump
index 8039e23..88e9eb7 100755
--- a/scripts/pyxbdump
+++ b/scripts/pyxbdump
@@ -8,8 +8,9 @@ for fn in sys.argv[1:]:
nsa = pyxb.namespace.NamespaceArchive(archive_path=fn)
print 'File %s archives %d namespaces:' % (fn, len(nsa.namespaces()))
for ns in nsa.namespaces().copy():
- print " %s" % (ns,)
+ print ' namespace=%s' % (ns,)
ns.validateComponentModel()
+ print ' module-path=%s' % (ns.modulePath(),)
for td in ns.typeDefinitions().values():
print ' td %s' % (td.expandedName(),)