diff options
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/pluginbase.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index 07ccf622f4..743170a5fa 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py @@ -21,6 +21,8 @@ import logging from collections import defaultdict +from wic import WicError + logger = logging.getLogger('wic') class PluginMeta(type): @@ -35,6 +37,10 @@ class PluginMeta(type): class ImagerPlugin(metaclass=PluginMeta): wic_plugin_type = "imager" + def do_create(self): + raise WicError("Method %s.do_create is not implemented" % + self.__class__.__name__) + class SourcePlugin(metaclass=PluginMeta): wic_plugin_type = "source" """ |