From f23e67618b82db77f5c419239a2e1864ad5fccb7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 9 Sep 2013 13:34:22 -0400 Subject: [PATCH] Correct problem where path element was not parsed correctly --- confluent/pluginapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent/pluginapi.py b/confluent/pluginapi.py index ee8854d8..638a6376 100644 --- a/confluent/pluginapi.py +++ b/confluent/pluginapi.py @@ -78,7 +78,7 @@ def handle_path(path, operation, configmanager): path.startswith("/vm/")): nodeidx = path.find("/",1) + 1 node = path[nodeidx:] - node, _, element = path.partition("/") + node, _, element = node.partition("/") if element not in nodeelements: raise Exception("Invalid element requested") plugroute = nodeelements[element]