projects
/
profile
/
ivi
/
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
1cf12a1
..
fac3821
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