2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00

Survive SLP values with =

If the slp parsing produces = in the value, ignore it and do best
effort to get the viable data out.
This commit is contained in:
Jarrod Johnson 2018-11-09 15:38:40 -05:00
parent 1a10b5d747
commit 8473cb1cf8

View File

@ -255,7 +255,7 @@ def _parse_attrlist(attrstr):
currattr = currattr.decode('utf-8')
attribs[currattr] = None
else:
attrname, attrval = currattr.split('=')
attrname, attrval = currattr.split('=', 1)
attrname = attrname.decode('utf-8')
attribs[attrname] = []
for val in attrval.split(','):