projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fb511
)
generate_builtins.py: Add missing import.
author
Vinson Lee
<vlee@vmware.com>
Wed, 12 Jan 2011 19:35:43 +0000
(11:35 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 12 Jan 2011 19:35:43 +0000
(11:35 -0800)
Import sys for sys.exit.
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
8b11338
..
1cf12a1
100755
(executable)
--- a/
src/glsl/builtins/tools/generate_builtins.py
+++ b/
src/glsl/builtins/tools/generate_builtins.py
@@
-2,6
+2,7
@@
# -*- coding: utf-8 -*-
import re
+import sys
from glob import glob
from os import path
from subprocess import Popen, PIPE