From: Sapan Bhatia Date: Wed, 9 Sep 2009 20:34:41 +0000 (+0000) Subject: Fixed the 'restrict to nodes' target. X-Git-Tag: sfa-0.9-1~8 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=1e0af3848c4a274cdb09d2c8f22b89b412031954 Fixed the 'restrict to nodes' target. --- diff --git a/sfatables/commands/Add.py b/sfatables/commands/Add.py index 26ba543b..5064ee69 100644 --- a/sfatables/commands/Add.py +++ b/sfatables/commands/Add.py @@ -39,8 +39,6 @@ class Add(Command): if (hasattr(match_options,option_name)): context = p.xpathEval("//rule/argument[name='%s']"%option_name) - import pdb - pdb.set_trace() if (not context): raise Exception('Unknown option %s for match %s'%(option,option['name'])) else: diff --git a/sfatables/targets/restrict_to_nodes.xsl b/sfatables/targets/restrict_to_nodes.xsl index bf63cbc8..2ecba229 100644 --- a/sfatables/targets/restrict_to_nodes.xsl +++ b/sfatables/targets/restrict_to_nodes.xsl @@ -1,9 +1,26 @@ - - - - - + + + + + + + + + + + + + + + + + + + + +