From 86e502a47a87cb6ddc2062c8467fa471af7acde2 Mon Sep 17 00:00:00 2001 From: Allen Lin37 Date: Thu, 13 Apr 2017 22:07:47 -0400 Subject: [PATCH] remove debug and fixing issue checking attribute --- confluent_server/confluent/config/configmanager.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/confluent_server/confluent/config/configmanager.py b/confluent_server/confluent/config/configmanager.py index 7a54895a..71efda93 100644 --- a/confluent_server/confluent/config/configmanager.py +++ b/confluent_server/confluent/config/configmanager.py @@ -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