Skip to content

Commit d40226c

Browse files
author
Roland Hedberg
committed
Fixed print of entities_descriptor
1 parent 2cf6bdb commit d40226c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/make_metadata.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@
6767

6868
if args.id:
6969
desc, xmldoc = entities_descriptor(eds, valid_for, args.name, args.id,
70-
args.sign, secc)
70+
args.sign, secc)
7171
valid_instance(desc)
72-
print(desc.to_string(nspair))
72+
xmldoc = metadata_tostring_fix(desc, nspair, xmldoc)
73+
print(xmldoc.decode("utf-8"))
7374
else:
7475
for eid in eds:
7576
if args.sign:

0 commit comments

Comments
 (0)