From daae1b9bf83dce40597bdd5b9db77d29860efe11 2020-06-10 19:02:37 From: Ram Rachum Date: 2020-06-10 19:02:37 Subject: [PATCH] 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: