X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fcommands%2FList.py;h=cea40bb79d8a1ba1a101b149b9193935c9903b77;hb=57b6a99255d4a88be9c0f910f8524677e34ff4bc;hp=86d52a2295f226e9ff084c11281549ee2b4fee75;hpb=7f5d4eef337809e0e0e802ca8c0cc8f695dc0837;p=sfa.git diff --git a/sfatables/commands/List.py b/sfatables/commands/List.py index 86d52a22..cea40bb7 100644 --- a/sfatables/commands/List.py +++ b/sfatables/commands/List.py @@ -1,8 +1,7 @@ import os, time import libxml2 -import pdb -from sfatables.globals import * +from sfatables.globals import sfatables_config from sfatables.pretty import Pretty from sfatables.command import Command @@ -28,7 +27,6 @@ class List(Command): value_nodes = p.xpathEval("//rule/argument[value!='']/value") element_nodes = p.xpathEval("//argument[value!='']/parent::rule/@element") - print element_nodes, type, xmlextension_path if (len(element_nodes)>1): raise Exception("Invalid rule %s contains multiple elements."%xmlextension_path)