projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e4614
)
generate_builtins.py: Fix builds using Python 2.5.
author
Vinson Lee
<vlee@vmware.com>
Fri, 14 Jan 2011 22:17:03 +0000
(14:17 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 14 Jan 2011 22:17:03 +0000
(14:17 -0800)
src/glsl/builtins/tools/generate_builtins.py
patch
|
blob
|
history
diff --git
a/src/glsl/builtins/tools/generate_builtins.py
b/src/glsl/builtins/tools/generate_builtins.py
index 1cf12a148c613eb2a511cebdb373575c38c0facd..fac3821dd56476980f8a6b4fa5af058fbb3b36e3 100755
(executable)
--- 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