From 1e0af3848c4a274cdb09d2c8f22b89b412031954 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Wed, 9 Sep 2009 20:34:41 +0000 Subject: [PATCH] Fixed the 'restrict to nodes' target. --- sfatables/commands/Add.py | 2 -- sfatables/targets/restrict_to_nodes.xsl | 29 ++++++++++++++++++++----- 2 files changed, 23 insertions(+), 8 deletions(-) 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 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + -- 2.43.0