dovetail tool: modify function exec_cmd to force it to flush the buffer 89/26989/5
authorxudan <xudan16@huawei.com>
Sat, 14 Jan 2017 01:27:09 +0000 (01:27 +0000)
committerxudan <xudan16@huawei.com>
Thu, 19 Jan 2017 09:35:04 +0000 (04:35 -0500)
commit7d50580f1a58da15a3382419836e27e3eae41d6d
tree5e16d0cf25cdf817eab0cea5a9c0f85f5d7a56fb
parentc2401cd1bf3898aebeef08ca699072b1dca683f0
dovetail tool: modify function exec_cmd to force it to flush the buffer

1. force to flush the buffer line by line
2. remove the progress bar since it will stay in the screen if using the cli
   command JIRA: DOVETAIL-173, which will be ugly.

JIRA: DOVETAIL-172

Change-Id: I47b823c7e0bce955a50086613a656c83ab7707e3
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/utils/dovetail_utils.py