X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fcommands%2FList.py;h=70d720649d59625037a5f9dcc4509f1899cb6fbc;hb=bfcea75fd4f7d91b186f4f0e479db0e6f0a231ae;hp=86d52a2295f226e9ff084c11281549ee2b4fee75;hpb=7f5d4eef337809e0e0e802ca8c0cc8f695dc0837;p=sfa.git diff --git a/sfatables/commands/List.py b/sfatables/commands/List.py index 86d52a22..70d72064 100644 --- a/sfatables/commands/List.py +++ b/sfatables/commands/List.py @@ -1,6 +1,5 @@ import os, time import libxml2 -import pdb from sfatables.globals import * from sfatables.pretty import Pretty @@ -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)