generate_builtins.py: Fix builds using Python 2.5.
authorVinson Lee <vlee@vmware.com>
Fri, 14 Jan 2011 22:17:03 +0000 (14:17 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 14 Jan 2011 22:17:03 +0000 (14:17 -0800)
src/glsl/builtins/tools/generate_builtins.py

index 1cf12a148c613eb2a511cebdb373575c38c0facd..fac3821dd56476980f8a6b4fa5af058fbb3b36e3 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 
+from __future__ import with_statement
+
 import re
 import sys
 from glob import glob