mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-20 12:40:31 +08:00
PEP8
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user