From 695e153187b0dae94cbbf0796693319af636dd98 2020-06-11 16:47:36 From: Matthias Bussonnier Date: 2020-06-11 16:47:36 Subject: [PATCH] Merge pull request #12384 from cool-RR/2020-06-10-glut Fix glut-related error messages --- diff --git a/IPython/lib/inputhookglut.py b/IPython/lib/inputhookglut.py index e6f7f12..9fc29bd 100644 --- a/IPython/lib/inputhookglut.py +++ b/IPython/lib/inputhookglut.py @@ -63,7 +63,7 @@ if sys.platform == 'darwin': ) except AttributeError: raise RuntimeError( - '''Your glut implementation does not allow interactive sessions''' + '''Your glut implementation does not allow interactive sessions. ''' '''Consider installing freeglut.''') glutMainLoopEvent = glutCheckLoop elif glut.HAVE_FREEGLUT: diff --git a/IPython/terminal/pt_inputhooks/glut.py b/IPython/terminal/pt_inputhooks/glut.py index f6d54a5..d26f91c 100644 --- a/IPython/terminal/pt_inputhooks/glut.py +++ b/IPython/terminal/pt_inputhooks/glut.py @@ -46,7 +46,7 @@ if sys.platform == 'darwin': ) except AttributeError: raise RuntimeError( - '''Your glut implementation does not allow interactive sessions''' + '''Your glut implementation does not allow interactive sessions. ''' '''Consider installing freeglut.''') glutMainLoopEvent = glutCheckLoop elif glut.HAVE_FREEGLUT: