diff options
Diffstat (limited to 'scripts/lib/wic/pluginbase.py')
-rw-r--r-- | scripts/lib/wic/pluginbase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index aea9c02319..07ccf622f4 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py | |||
@@ -32,10 +32,10 @@ class PluginMeta(type): | |||
32 | 32 | ||
33 | return class_type | 33 | return class_type |
34 | 34 | ||
35 | class ImagerPlugin(PluginMeta("Plugin", (), {})): | 35 | class ImagerPlugin(metaclass=PluginMeta): |
36 | wic_plugin_type = "imager" | 36 | wic_plugin_type = "imager" |
37 | 37 | ||
38 | class SourcePlugin(PluginMeta("Plugin", (), {})): | 38 | class SourcePlugin(metaclass=PluginMeta): |
39 | wic_plugin_type = "source" | 39 | wic_plugin_type = "source" |
40 | """ | 40 | """ |
41 | The methods that can be implemented by --source plugins. | 41 | The methods that can be implemented by --source plugins. |