aboutsummaryrefslogtreecommitdiff
path: root/piglit-print-commands.py
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2018-11-08 19:00:04 +0000
committerEric Engestrom <eric@engestrom.ch>2018-11-08 20:17:27 +0000
commit1cdfa43c5cb7b18f2f384c7867e99737f7351f3d (patch)
tree7e937e87482062545dcde95cd1eb416b4e5871a0 /piglit-print-commands.py
parent5b3566f78490026b38ff03d602655ce3afb5ecb1 (diff)
downloadpiglit-1cdfa43c5cb7b18f2f384c7867e99737f7351f3d.tar.gz
python: add explicit utf-8 encoding
I went with `# coding=utf-8` as it was the most common format in the existing code: 24 # coding=utf-8 21 ## coding=utf-8 19 # encoding=utf-8 9 ## encoding=utf-8 6 # -*- coding: utf-8 -*- I added it as the first line after the shebang, if any. Suggested-by: Dylan Baker <dylan@pnwbakers.com> Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'piglit-print-commands.py')
-rwxr-xr-xpiglit-print-commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/piglit-print-commands.py b/piglit-print-commands.py
index aeabe928d..8dcb13289 100755
--- a/piglit-print-commands.py
+++ b/piglit-print-commands.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation