diff --git a/confluent/httpapi.py b/confluent/httpapi.py index f61a1f57..318f4757 100644 --- a/confluent/httpapi.py +++ b/confluent/httpapi.py @@ -59,7 +59,8 @@ def _get_query_dict(env, reqbody, reqtype): pbody = urlparse.parse_qs(reqbody, True) for ky in pbody.iterkeys(): if len(pbody[ky]) > 1: # e.g. REST explorer - qdict[ky] = pbody[ky] + na = [i for i in pbody[ky] if i != ''] + qdict[ky] = na else: qdict[ky] = pbody[ky][0] if 'restexplorerhonorkey' in qdict: diff --git a/plugins/configuration/attributes.py b/plugins/configuration/attributes.py index 58445a39..69323d0e 100644 --- a/plugins/configuration/attributes.py +++ b/plugins/configuration/attributes.py @@ -41,3 +41,4 @@ def update(nodes, element, configmanager, inputdata): if updatenode: updatedict[node] = updatenode configmanager.set_node_attributes(updatedict) + return retrieve(nodes, element, configmanager, inputdata)