From 0f49ed9f987482c7bd93079f60f353a40744ce1c Mon Sep 17 00:00:00 2001 From: David Rheinsberg Date: Tue, 13 Sep 2022 12:53:43 +0200 Subject: [PATCH] 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 --- tools/osbuild-mpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/osbuild-mpp b/tools/osbuild-mpp index 9cf20094..577fff02 100755 --- a/tools/osbuild-mpp +++ b/tools/osbuild-mpp @@ -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):