diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-10-05 10:44:27 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-10-06 13:36:35 -0600 |
| commit | 038a014b4948eb800a70d169abe37253adae1fbb (patch) | |
| tree | 0bb73ff7ead5ff454da121afda5ea33bbdd631c9 /scripts | |
| parent | ab1a511e62573305e23ae35beb280abb20797678 (diff) | |
| download | usermoji-038a014b4948eb800a70d169abe37253adae1fbb.tar.xz | |
tests: Fix doc validator script
Script was intolerant of unicode characters that now show up in the
spec.
Change-Id: I125f12139eec395ffc8ae61e92de1428fa2ac0c6
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/vk_validation_stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vk_validation_stats.py b/scripts/vk_validation_stats.py index 36346b3e..58c5c0b4 100755 --- a/scripts/vk_validation_stats.py +++ b/scripts/vk_validation_stats.py @@ -103,7 +103,7 @@ class ValidationDatabase: """Read a database file into internal data structures, format of each line is <enum><implemented Y|N?><testname><api><errormsg><notes>""" #db_dict = {} # This is a simple db of just enum->errormsg, the same as is created from spec #max_id = 0 - with open(self.db_file, "r") as infile: + with open(self.db_file, "r", encoding="utf8") as infile: for line in infile: line = line.strip() if line.startswith('#') or '' == line: |
