Python3 compatibility: whitespace validation fix
authorBoris Zanin <boris.zanin@mobica.com>
Wed, 19 Jun 2019 13:39:57 +0000 (15:39 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 25 Jun 2019 08:05:57 +0000 (04:05 -0400)
commitd4257771131b791cb5cd18a56fbab0b2a2d72eae
tree02bf356b36700cb65ece1e8761c3c07e7f636df4
parent7f20486735b3535e8671ffb896bfb4646e158935
Python3 compatibility: whitespace validation fix

Make encoding independend from environment by enforcing ascii.
And ignore decoding errors (i.e. bytes with code greater 127)
due to they are not essential for whitespace validation.

Components: Framework

VK-GL-CTS issue: 1665

Change-Id: I140ed7ff520c651d38d53ff1a99665242c71d54b
scripts/src_util/check_whitespace.py