From c6cc724a708d575090d61cf159da5070f81ca7a6 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 6 Oct 2020 10:25:46 -0700 Subject: [PATCH] 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 Reviewed-by: Jesse Natalie Part-of: (cherry picked from commit 3ff513ee5d995b733f0f91b0f6c645676038afbc) --- .pick_status.json | 2 +- src/compiler/glsl/xxd.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index b0bcba44996..baf4fab45e2 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1588,7 +1588,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():