tag 498403 + patch
thanks

Hi,

the fix for this bug is in new upstream versions. Please backport it so
that we can have it in lenny; given the frequency of this bug occurring
and the simplicity of the fix, this looks like something to upload ASAP.

--- PyOpenGL-3.0.0b3/OpenGL/GL/pointers.py      2008-03-17 04:13:12.000000000 
+0100
+++ PyOpenGL-3.0.0b4/OpenGL/GL/pointers.py      2008-07-04 16:15:42.000000000 
+0200
@@ -259,7 +259,7 @@ def glRenderMode( newMode ):
        currentMode = glGetIntegerv( simple.GL_RENDER_MODE )
        try:
                currentMode = currentMode[0]
-       except (TypeError,ValueError), err:
+       except (TypeError,ValueError,IndexError), err:
                pass
        if currentMode in (simple.GL_RENDER,0):
                # no array needs to be returned...

Thanks,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to