summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan.c.baker@intel.com>2020-10-06 10:25:46 -0700
committerEric Engestrom <eric@engestrom.ch>2020-10-14 19:29:31 +0200
commita3de6a5869bc2a187be9ec88f95be3ba97e184fb (patch)
tree663414693f980a85563eeb1070179f488669467b
parent2e1e97c66b84c27f3139b81256855acaf4413017 (diff)
glsl/xxd.py: fix imports
sys and string are unused, os is needed but not imported fixes: 412472da5cb30b603e218b34893936cc70039ded ("glsl: Add utility to convert text files to C strings") Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7034> (cherry picked from commit 3ff513ee5d995b733f0f91b0f6c645676038afbc)
-rw-r--r--.pick_status.json2
-rw-r--r--src/compiler/glsl/xxd.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 948a8dc58f1..d2ab2bd05c6 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -7321,7 +7321,7 @@
"description": "glsl/xxd.py: fix imports",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"master_sha": null,
"because_sha": "412472da5cb30b603e218b34893936cc70039ded"
},
diff --git a/src/compiler/glsl/xxd.py b/src/compiler/glsl/xxd.py
index f8f57d77121..23055ce0e48 100644
--- a/src/compiler/glsl/xxd.py
+++ b/src/compiler/glsl/xxd.py
@@ -25,8 +25,7 @@
from __future__ import unicode_literals
import argparse
import io
-import string
-import sys
+import os
def get_args():