summaryrefslogtreecommitdiffstats
path: root/xlate-test.py
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-08-12 19:11:59 +0200
committerPhil Sutter <phil@nwl.cc>2021-09-13 17:00:51 +0200
commitfcbe454bf0d05612a8484723fd3e9299d4ee836f (patch)
treee1199864365c286457cf46d64dbcea4994a92fd8 /xlate-test.py
parent61e85e3192deaff3b9dd1eb9270863acc7a26311 (diff)
tests: iptables-test: Fix missing chain case
If a chain line was really missing, Python complained about reference before assignment of 'chain_array' variable. While being at it, reuse print_error() function for reporting and allow to continue with the next input file instead of exiting. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'xlate-test.py')
0 files changed, 0 insertions, 0 deletions