From 138686f389fe48139ddc4a57ac5de363e71b38e7 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 13 Sep 2016 17:30:14 +0300 Subject: dpdk Python scripts small fixes ensure log dir exists for trex daemon regression: add trex24 setup Sphinx docs remove "capture" tag for compatibility with 1.2 version --- scripts/dpdk_nic_bind.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/dpdk_nic_bind.py') diff --git a/scripts/dpdk_nic_bind.py b/scripts/dpdk_nic_bind.py index 1242e3e3..528a8132 100755 --- a/scripts/dpdk_nic_bind.py +++ b/scripts/dpdk_nic_bind.py @@ -368,7 +368,7 @@ def read_pid_cmdline(pid): def confirm(msg, default = False): if not os.isatty(1): return default - termios.tcflush(sys.stdin, termios.TCIOFLUSH) + termios.tcflush(sys.stdin, termios.TCIFLUSH) try: return strtobool(raw_input(msg)) except KeyboardInterrupt: @@ -380,7 +380,7 @@ def confirm(msg, default = False): def read_line(msg = '', default = ''): if not os.isatty(1): return default - termios.tcflush(sys.stdin, termios.TCIOFLUSH) + termios.tcflush(sys.stdin, termios.TCIFLUSH) try: return raw_input(msg).strip() except KeyboardInterrupt: -- cgit 1.2.3-korg