summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-10-29 12:20:18 +0100
committerPhil Sutter <phil@nwl.cc>2019-10-29 13:16:35 +0100
commit6b53baa89f5b6a0c1d2520820d9654418cda7105 (patch)
tree716a35d4d0aabf93b824f5ab40fb4562959707f6 /src/parser_bison.y
parent707ad229d48f2ba7920541527b755b155ddedcda (diff)
tests/py: Fix test script for Python3 tempfile
When instantiating a temporary file using tempfile's TemporaryFile() constructor, the resulting object's 'name' attribute is of type int. This in turn makes print_msg() puke while trying to concatenate string and int using '+' operator. Fix this by using format strings consequently, thereby cleaning up code a bit. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions