summaryrefslogtreecommitdiffstats
path: root/examples3/gears.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples3/gears.py')
-rwxr-xr-xexamples3/gears.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3/gears.py b/examples3/gears.py
index 05f0469..e98df55 100755
--- a/examples3/gears.py
+++ b/examples3/gears.py
@@ -227,7 +227,7 @@ if __name__=='__main__':
app=TQApplication(sys.argv)
if not TQGLFormat.hasOpenGL():
- raise 'No TQt OpenGL support.'
+ raise Exception('No TQt OpenGL support.')
widget=GearWidget()
app.setMainWidget(widget)