From 90f1e791d80f2b195c7e2818c200a7016ea78afc Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Tue, 3 Dec 2013 22:30:56 -0600 Subject: [PATCH] PEP8 --- skimage/io/_plugins/plugin.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/skimage/io/_plugins/plugin.py b/skimage/io/_plugins/plugin.py index 75b2f9ed..ec8ed7c9 100644 --- a/skimage/io/_plugins/plugin.py +++ b/skimage/io/_plugins/plugin.py @@ -155,11 +155,11 @@ def call_plugin(kind, *args, **kwargs): plugin_funcs = plugin_store[kind] if len(plugin_funcs) == 0: - raise RuntimeError('''No suitable plugin registered for %s. - -You may load I/O plugins with the `skimage.io.use_plugin` -command. A list of all available plugins can be found using -`skimage.io.plugins()`.''' % kind) + msg = ("No suitable plugin registered for %s.\n\n" + "You may load I/O plugins with the `skimage.io.use_plugin` " + "command. A list of all available plugins can be found using " + "`skimage.io.plugins()`.") + raise RuntimeError(msg % kind) plugin = kwargs.pop('plugin', None) if plugin is None: