remove with_context decorator from CurtinPartitioningStep.run
To avoid having nested contexts for one step. It's a bit unsatisfying because conceptually the code in CurtinPartitioningStep.run should be considered part of the same context but I don't see a good way to do that and it's not of practical significance.
This commit is contained in:
parent
8b47359ef2
commit
c2c8460b50
|
@ -115,8 +115,6 @@ class CurtinInstallStep:
|
|||
class CurtinPartitioningStep(CurtinInstallStep):
|
||||
device_map_path: Path
|
||||
|
||||
@with_context(
|
||||
description="executing curtin install {self.name} step")
|
||||
async def run(self, context):
|
||||
await super().run(context=context)
|
||||
with open(self.device_map_path) as fp:
|
||||
|
|
Loading…
Reference in New Issue