mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-12 10:49:17 +00:00
Fix handling of unicode data in inventory
It is possible for unicode data to appear in some data values. Use a unicode string to hold the value, in case of unicode data coming from server.
This commit is contained in:
parent
41e84c7c47
commit
9a93baed0e
@ -103,7 +103,7 @@ try:
|
||||
for datum in info:
|
||||
if info[datum] is None:
|
||||
continue
|
||||
print('{0}: {1} {2}: {3}'.format(node, prefix,
|
||||
print(u'{0}: {1} {2}: {3}'.format(node, prefix,
|
||||
pretty(datum),
|
||||
info[datum]))
|
||||
except KeyboardInterrupt:
|
||||
|
Loading…
x
Reference in New Issue
Block a user