From: Vinson Lee Date: Fri, 14 Jan 2011 22:17:03 +0000 (-0800) Subject: generate_builtins.py: Fix builds using Python 2.5. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0de6d7e99195b6e739e3a80482ad7860c14bef3b;p=mesa.git generate_builtins.py: Fix builds using Python 2.5. --- diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 1cf12a148c6..fac3821dd56 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -1,6 +1,8 @@ #!/usr/bin/python # -*- coding: utf-8 -*- +from __future__ import with_statement + import re import sys from glob import glob