Module: Mesa
Branch: master
Commit: bf1096a778e9537d9e0970660effdf307115faf0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf1096a778e9537d9e0970660effdf307115faf0

Author: Vinson Lee <v...@vmware.com>
Date:   Sat Feb 13 00:05:29 2010 -0800

mesa: s/abort/sys.exit/

Python does not have the function abort.

---

 src/mesa/main/get_gen.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index b37a373..64aa2ac 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -27,6 +27,7 @@
 
 
 import string
+import sys
 
 
 GLint = 1
@@ -1134,7 +1135,7 @@ def EmitGetFunction(stateVars, returnType, indexed):
                elif returnType == GLint64:
                        function = "GetInteger64v"
                else:
-                       abort()
+                       sys.exit(1)
 
        if returnType == GLint64:
                print "#if FEATURE_ARB_sync"

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to