]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/py: Fix error messages in chain_delete()
authorPhil Sutter <phil@nwl.cc>
Thu, 25 Apr 2019 12:59:41 +0000 (14:59 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Apr 2019 12:20:57 +0000 (14:20 +0200)
commite0130e777ead5e9128b58b7fe8c99e4052cff090
tree69678034faacb14bd8a740e840f00a9e1b10b7d3
parentcf6f35371aa73cdfae2fe1290ffacb4ec9f93741
tests/py: Fix error messages in chain_delete()

Adding string and chain object is an illegal operation in Python.
Instead concatenate with cmd string since that contains all required
information already.

Fixes: 820fd08b5f1d4 ("tests/py: Review print statements in nft-test.py")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/nft-test.py