diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-01-17 06:07:39 +0530 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2017-01-19 06:25:22 +0530 |
commit | 0aa65ecf94ecbab93fa858607f1051535ac2d59e (patch) | |
tree | 49d1f9dbe02b1cf9208674e4ae45cd5e05d4a68a /api/server.py | |
parent | ea706beda50f87ae37799bd8f0313d177909a4ff (diff) |
Verify stdin data before doing encodeutils safe_encode
Process running via ssh can return "None" or emtpy data from the
application. To avoid encodutils raise NoneType issue. Check the data before
encode.
JIRA: YARDSTICK-539
Change-Id: I7e86e6a17c0adc95d41714f6fec463dfadc2b81b
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'api/server.py')
0 files changed, 0 insertions, 0 deletions