pipeline: remove Assembler class

Now that assemblers are represented via the `Stage` class, the
Assembler class is not needed anymore. Adjust the monitor method
to take an `pipeline.Stage` for the `assembler` method as well.
This commit is contained in:
Christian Kellner 2021-01-18 17:40:54 +00:00
parent 8ccc73d1c3
commit 6c02002cbd
4 changed files with 3 additions and 55 deletions

View file

@ -38,7 +38,7 @@ class TapeMonitor(osbuild.monitor.BaseMonitor):
self.counter["stages"] += 1
self.stages.add(stage.id)
def assembler(self, assembler: osbuild.Assembler):
def assembler(self, assembler: osbuild.Stage):
self.counter["assembler"] += 1
self.asm = assembler.id