mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Fix raw integer value support
This commit is contained in:
parent
ad33572290
commit
743f984b3d
@ -185,6 +185,8 @@ class ConfluentMessage(object):
|
||||
if (isinstance(val, bool) or isinstance(val, bytes) or
|
||||
isinstance(val, unicode)):
|
||||
value = str(val)
|
||||
elif isinstance(val, int):
|
||||
value = '{0}'.format(int)
|
||||
elif val is not None and 'value' in val:
|
||||
value = val['value']
|
||||
if 'inheritedfrom' in val:
|
||||
|
Loading…
Reference in New Issue
Block a user