mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
remove debug and fixing issue checking attribute
This commit is contained in:
parent
2042bcb8f0
commit
86e502a47a
@ -1143,11 +1143,9 @@ class ConfigManager(object):
|
||||
raise ValueError("node {0} does not exist".format(node))
|
||||
for attrname in attribmap[node].iterkeys():
|
||||
attrval = attribmap[node][attrname]
|
||||
print attrval
|
||||
print allattributes.node[attrname]
|
||||
try:
|
||||
if (allattributes.node[attrname]['type'] == 'list' and
|
||||
type(attrval) in (str, unicode)) and type(attrval)==list:
|
||||
type(attrval) in (str, unicode)):
|
||||
attrval = attrval.split(",")
|
||||
except KeyError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user