zdtm: fix a lint warning about undefined 'raw_input'

test/zdtm.py:1238:3: F821 undefined name 'raw_input'

v2: ask to press enter, not just any key
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin 2018-06-13 20:46:36 +03:00
parent 39b6fec0a9
commit 9715eb2de5

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python
# vim: noet ts=8 sw=8 sts=8
from __future__ import absolute_import, division, print_function, unicode_literals
from builtins import (str, open, range, zip, int)
from builtins import (str, open, range, zip, int, input)
import argparse
import glob
@ -1235,7 +1235,7 @@ def init_sbs():
def sbs(what):
if do_sbs:
raw_input("Pause at %s. Press any key to continue." % what)
input("Pause at %s. Press Enter to continue." % what)
#