glsl/xxd.py: fix imports

sys and string are unused, os is needed but not imported

fixes: 412472da5c
       ("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 3ff513ee5d)
This commit is contained in:
Dylan Baker 2020-10-06 10:25:46 -07:00
parent ea455f0465
commit c6cc724a70
2 changed files with 2 additions and 3 deletions

View file

@ -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"
},

View file

@ -25,8 +25,7 @@
from __future__ import unicode_literals
import argparse
import io
import string
import sys
import os
def get_args():