X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfatables%2Fruntime.py;h=0cfac1427fb6f4d757c0b12988000b0131886164;hp=dc9e7cbf3aaa036d3dd5b7014c219b3667d2db01;hb=46d88522f413cd62c60b081b296634444564813e;hpb=85df5980e422a31f1cc00c81a56ab06145cdee5b diff --git a/sfatables/runtime.py b/sfatables/runtime.py index dc9e7cbf..0cfac142 100644 --- a/sfatables/runtime.py +++ b/sfatables/runtime.py @@ -29,7 +29,8 @@ class SFATablesRules: if (rule.terminal): break - return intermediate_rspec + final_rspec = XMLRule().wrap_up(intermediate_rspec) + return final_rspec def main(): incoming = SFATablesRules('INCOMING') @@ -37,8 +38,6 @@ def main(): rspec = open(sys.argv[1]).read() - - print "%d rules loaded for INCOMING chain\n"%len(incoming.sorted_rule_list) print "%d rules loaded for OUTGOING chain\n"%len(outgoing.sorted_rule_list)