From edaa44b59b0b066f95b38ddd059085c8f6c4fd19 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 2 Nov 2009 21:16:31 +0200 Subject: [PATCH] Minor text cleanups. --- scikits/image/io/_plugins/qt_plugin.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/scikits/image/io/_plugins/qt_plugin.py b/scikits/image/io/_plugins/qt_plugin.py index dd965c93..d43a9dff 100644 --- a/scikits/image/io/_plugins/qt_plugin.py +++ b/scikits/image/io/_plugins/qt_plugin.py @@ -6,9 +6,8 @@ import sys try: - # we try to aquire the gui lock first - # or else the gui import might trample another - # gui's pyos_inputhook. + # We try to aquire the gui lock first or else the gui import might + # trample another GUI's PyOS_InputHook. window_manager.acquire('qt') except GuiLockError, gle: @@ -20,8 +19,7 @@ else: QLabel) except ImportError: - print 'pyqt4 libraries not installed.' - print 'plugin not loaded' + print 'PyQT4 libraries not installed. Plugin not loaded.' window_manager._release('qt') else: @@ -65,9 +63,6 @@ else: if app and window_manager.has_images(): app.exec_() else: - print 'no images to show' + print 'No images to show. See `imshow`.' plugin.register('qt', show=qt_imshow, appshow=qt_show) - - -