2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-03-01 00:31:42 +00:00

Correct mistake in referencing option string

This commit is contained in:
Jarrod Johnson 2021-10-07 18:02:56 -04:00
parent c0287e93ed
commit 3f7a7d09dd

View File

@ -90,7 +90,7 @@ class SyncList(object):
if optparts[0][0] != '(' or optparts[-1][-1] != ')':
raise Exception("Unsupported syntax in syncfile: " + ent)
opts = ','.join(optparts)
opts = [1:-1]
opts = opts[1:-1]
for opt in opts.split(','):
optname, optval = opt.split('=')
entopts[optname] = optval