From 5190440ea269d94e2e99cf0a051001cd54d9d29a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 22 Jun 2011 15:36:59 +0000 Subject: [PATCH] minor fix --- lib/core/option.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 0ab676771..350f84cb5 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -329,7 +329,7 @@ def __loadQueries(): if retVal is None: retVal = DictObject() - for child in node.findall("./"): + for child in node.findall("*"): instance = DictObject() retVal.__dict__[child.tag] = instance if child.attrib: @@ -342,7 +342,7 @@ def __loadQueries(): tree = ElementTree() tree.parse(paths.QUERIES_XML) - for node in tree.findall("./"): + for node in tree.findall("*"): queries[node.attrib['value']] = iterate(node) def __setMultipleTargets():