osbuild-mpp: implement virtual functions

Make sure to correctly implement virtual functions and raise
NotImplementedError, as suggested by the standard library. Pylint will
otherwise complain about unavailable functions being accessed.

Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
This commit is contained in:
David Rheinsberg 2022-09-13 12:53:43 +02:00 committed by Simon de Vlieger
parent 0471c646a8
commit 0f49ed9f98

View file

@ -1232,6 +1232,15 @@ class ManifestFile:
self._process_embed_files(stage)
self._process_container(stage)
def _process_depsolve(self, _stage, _pipeline_name):
raise NotImplementedError()
def _process_embed_files(self, _stage):
raise NotImplementedError()
def _process_container(self, _stage):
raise NotImplementedError()
class ManifestFileV1(ManifestFile):
def __init__(self, path, overrides, default_vars, data, searchdirs):