]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix timeouts system test compatibility with python2
authorPetr Špaček <pspacek@isc.org>
Fri, 18 Feb 2022 10:11:51 +0000 (11:11 +0100)
committerPetr Špaček <pspacek@isc.org>
Fri, 18 Feb 2022 10:26:58 +0000 (11:26 +0100)
v9_16 branch still supports Python 2.7.
Fixup for 260b4c02cf3540e4a71b22f573958da24d89c7a2.

Related: !5856

bin/tests/system/timeouts/setup.sh

index c4019d2a278c3f8f4d633a0d759006e33dac6e02..65bb0579c9c2182c6863e13461447e6ba982f4b4 100644 (file)
@@ -20,6 +20,7 @@ copy_setports ns1/named.conf.in ns1/named.conf
 # tcp-initial-timeout interval
 #
 $PYTHON -c "
+from __future__ import print_function
 print('large IN TXT', end=' ')
 for a in range(128):
     print('\"%s\"' % ('A' * 240), end=' ')