diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-09-13 17:30:14 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-09-13 17:30:14 +0300 |
commit | 138686f389fe48139ddc4a57ac5de363e71b38e7 (patch) | |
tree | 35cc977a555f80ac64c6aff4bbc045819dd080a5 /scripts/dpdk_nic_bind.py | |
parent | 58f1ee52761a489322036f111793ddd8e85e197a (diff) |
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
Diffstat (limited to 'scripts/dpdk_nic_bind.py')
-rwxr-xr-x | scripts/dpdk_nic_bind.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |