Fixed a bug we ran into a demo with Andy. Stop on terminal rules ONLY if it has matched.
[sfa.git] / sfatables / xmlrule.py
index d8b30dc..bd41dbf 100644 (file)
@@ -85,9 +85,9 @@ class XMLRule:
         #       else rspec
         
         if (self.match(rspec)):
-            return self.wrap_up(self.target(rspec))
+            return (True,self.wrap_up(self.target(rspec))
         else:
-            return self.wrap_up(rspec)
+            return (False,self.wrap_up(rspec))
 
 
     def apply_compiled(rspec):