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:
parent
0471c646a8
commit
0f49ed9f98
1 changed files with 9 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue